From b427fb018b6e406fafc0be649866ebff320eb0a9 Mon Sep 17 00:00:00 2001 From: RohitPtnkr1996 <111407262+RohitPtnkr1996@users.noreply.github.com> Date: Tue, 30 Jun 2026 10:00:02 +0530 Subject: [PATCH 1/2] Added ECXml3.3 with json primitive property type name --- System/xsd/ECSchemaXML3.3.xsd | 730 ++++++++++++++++++++++++++++++++++ 1 file changed, 730 insertions(+) create mode 100644 System/xsd/ECSchemaXML3.3.xsd diff --git a/System/xsd/ECSchemaXML3.3.xsd b/System/xsd/ECSchemaXML3.3.xsd new file mode 100644 index 000000000..ebff26f07 --- /dev/null +++ b/System/xsd/ECSchemaXML3.3.xsd @@ -0,0 +1,730 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Schema, EntityClass, CustomAttributeClass, StructClass, RelationshipClass, AnyClass, PrimitiveProperty, StructProperty, ArrayProperty, StructArrayProperty, NavigationProperty, AnyProperty, SourceRelationshipConstraint, TargetRelationshipConstraint, AnyRelationshipConstraint, Any + + + + + + + + + + + + + + + forward, backward + + + + + + + + + referencing, holding, embedding + + + + + + + + + None, Abstract, Sealed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (0..*), (0..1), (1..1), (1..*), (x..y) where x >= 0 and y >= x or y = * + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Legacy alias for typeName found in some schemas. New schemas should use typeName. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Valid types are; Decimal, Fractional, Scientific, Station + + + + + + + + + + + + + + + + Valid Sign Options are NoSign, OnlyNegative, SignAlways and NegativeParentheses + + + + + + + + + + + + + + + A list separated by ';', '|', or ','. Valid Format Traits are + trailZeroes, + keepSingleZero, + zeroEmpty, + keepDecimalPoint, + applyRounding, + fractionDash, + showUnitLabel, + prependUnitLabel, + use1000Separator, + exponentOnlyNegative + + + + + + + + Valid Scientific Types are normalized and zeroNormalized + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Standard extended types are BeGuid, GeometryStream, JSON and URI + + + + + + + + + + + + + Any ECEnumeration name or one of: binary, boolean, datetime, double, int, integer, long, string, point2d, point3d, Bentley.Geometry.Common.IGeometry, json + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + unbounded + + + + + + + + + + + + + true, false + + + + + + + + + + + + + From 1468ab755e166b239adce6878a8e22ccea8483e6 Mon Sep 17 00:00:00 2001 From: RohitPtnkr1996 <111407262+RohitPtnkr1996@users.noreply.github.com> Date: Tue, 14 Jul 2026 16:43:04 +0530 Subject: [PATCH 2/2] Added a new schema item "json description" to be used by properties with json primitive type for json shape validation --- System/xsd/ECSchemaXML3.3.xsd | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/System/xsd/ECSchemaXML3.3.xsd b/System/xsd/ECSchemaXML3.3.xsd index ebff26f07..2a503f98c 100644 --- a/System/xsd/ECSchemaXML3.3.xsd +++ b/System/xsd/ECSchemaXML3.3.xsd @@ -21,7 +21,7 @@ + ec:Unit|ec:Constant|ec:InvertedUnit|ec:Phenomenon|ec:Format|ec:JsonDescription" /> @@ -79,6 +79,7 @@ + @@ -506,6 +507,20 @@ + + + + + + + + + + + + @@ -545,6 +560,7 @@ Standard extended types are BeGuid, GeometryStream, JSON and URI +