import { Schema as e } from "./schema.js";
import { normalize as t } from "../normalize.js";
import { DefinedInfo as n } from "./defined-info.js";
//#region ../../node_modules/property-information/lib/util/create.js
function r(r) {
	let i = {}, a = {};
	for (let [e, o] of Object.entries(r.properties)) {
		let s = new n(e, r.transform(r.attributes || {}, e), o, r.space);
		r.mustUseProperty && r.mustUseProperty.includes(e) && (s.mustUseProperty = !0), i[e] = s, a[t(e)] = e, a[t(s.attribute)] = e;
	}
	return new e(i, a, r.space);
}
//#endregion
export { r as create };
