@bentley/core-custom-attributes-schema
Advanced tools
Comparing version
@@ -1,1 +0,1 @@ | ||
{"$schema":"https://dev.bentley.com/json_schemas/ec/32/ecschema","name":"CoreCustomAttributes","version":"01.00.01","alias":"CoreCA","label":"Core Custom Attributes","description":"Custom attributes to indicate core EC concepts, may include struct classes intended for use in core custom attributes.","items":{"ClassHasCurrentTimeStampProperty":{"schemaItemType":"CustomAttributeClass","modifier":"Sealed","properties":[{"name":"PropertyName","type":"PrimitiveProperty","typeName":"string"}],"appliesTo":"EntityClass"},"DateTimeComponent":{"schemaItemType":"Enumeration","type":"string","isStrict":true,"enumerators":[{"name":"DateTime","value":"DateTime"},{"name":"Date","value":"Date"},{"name":"TimeOfDay","value":"TimeOfDay"}]},"DateTimeInfo":{"schemaItemType":"CustomAttributeClass","description":"Optional additional meta data for ECProperties of type DateTime.","modifier":"Sealed","properties":[{"name":"DateTimeKind","type":"PrimitiveProperty","description":"Either Utc, Local or Unspecified. Default: Unspecified. When specifying a DateTimeKind, it is usually not necessary to specify a DateTimeComponent because a DateTimeKind implies the DateTimeComponent 'DateTime'.","typeName":"CoreCustomAttributes.DateTimeKind"},{"name":"DateTimeComponent","type":"PrimitiveProperty","description":"Either DateTime or Date. Default: DateTime. Specifying 'Date' usually implies that a DateTimeKind is irrelevant, because dates (without time) don't need any timezone information.","typeName":"CoreCustomAttributes.DateTimeComponent"}],"appliesTo":"PrimitiveProperty, ArrayProperty"},"DateTimeKind":{"schemaItemType":"Enumeration","type":"string","isStrict":true,"enumerators":[{"name":"Unspecified","value":"Unspecified"},{"name":"Utc","value":"Utc"},{"name":"Local","value":"Local"}]},"Deprecated":{"schemaItemType":"CustomAttributeClass","description":"Identifies a schema or item within a schema as deprecated. Deprecated things should not be used.","modifier":"Sealed","properties":[{"name":"Description","type":"PrimitiveProperty","description":"Gives advice about avoiding the deprecated item or other helpful information related to the deprecation of the item.","typeName":"string"}],"appliesTo":"Any"},"DynamicSchema":{"schemaItemType":"CustomAttributeClass","label":"Dynamic Schema","description":"Identifies a schema as dynamically generated by an application. Like versions of a schema may differ and are not guaranteed to merge without conflicts.","modifier":"Sealed","appliesTo":"Schema"},"HiddenClass":{"schemaItemType":"CustomAttributeClass","description":"Identifies a class which is designed to be hidden from teh user interface. Hides the class it is applied to and all derived classes","modifier":"Sealed","properties":[{"name":"Show","type":"PrimitiveProperty","description":"If set to true show the hidden class. Defaults to False. Allows a derived class to be shown even though it's base class is hidden","typeName":"boolean"}],"appliesTo":"AnyClass"},"HiddenProperty":{"schemaItemType":"CustomAttributeClass","description":"Identifies a property which is designed to be hidden from the user interface","modifier":"Sealed","properties":[{"name":"Show","type":"PrimitiveProperty","description":"If set to true show the hidden property. Defaults to False. Allows a property override to show a hidden property in a derived class","typeName":"boolean"}],"appliesTo":"AnyProperty"},"HiddenSchema":{"schemaItemType":"CustomAttributeClass","description":"Identifies a schema which is designed to be hidden from the user interface. By default all classes in the schema are hidden as well.","modifier":"Sealed","properties":[{"name":"ShowClasses","type":"PrimitiveProperty","description":"If true classe in the schema will be shown. Default is False. If set to true individual classes may be hidden using the HiddenClass custom attribute","typeName":"boolean"}],"appliesTo":"Schema"},"IsMixin":{"schemaItemType":"CustomAttributeClass","label":"Is Mixin","description":"Applied to abstract ECEntityClasses which serve as secondary base classes for normal ECEntityClasses.","modifier":"Sealed","properties":[{"name":"AppliesToEntityClass","type":"PrimitiveProperty","description":"This mixin may only be applied to entity classes which derive from this class. Class Name should be fully specified as 'alias:ClassName'","typeName":"string"}],"appliesTo":"EntityClass"},"Localizable":{"schemaItemType":"CustomAttributeClass","label":"Localizable","description":"Applied to a property to indicate that custom attributes using this property can be localized.","modifier":"Sealed","appliesTo":"PrimitiveProperty"},"NotSubclassableInReferencingSchemas":{"schemaItemType":"CustomAttributeClass","description":"Makes a class 'sealed' outside of the schema containing the class","modifier":"Sealed","properties":[{"name":"Exceptions","type":"PrimitiveArrayProperty","description":"Optionally allows specific classes in other schemas to subclass this class. Use format '[SchemaName]:[ClassName]', e.g. 'Fruit:Banana'","typeName":"string","minOccurs":0,"maxOccurs":2147483647}],"appliesTo":"AnyClass"},"PartialSchema":{"schemaItemType":"CustomAttributeClass","label":"Partial Schema","description":"Identifies a schema file/object that may only contain part of the complete schema. Like versions of a schema may differ but are guaranteed to merge without conflicts.","modifier":"Sealed","appliesTo":"Schema"},"SchemaNameAndPurpose":{"schemaItemType":"StructClass","description":"Used to define a supplemental schema and its purpose","modifier":"Sealed","properties":[{"name":"SchemaName","type":"PrimitiveProperty","description":"Full name of the supplemental schema","typeName":"string"},{"name":"Purpose","type":"PrimitiveProperty","description":"Purpose of the supplemental schema","typeName":"string"}]},"SchemaReference":{"schemaItemType":"StructClass","label":"Schema Reference","description":"Reference to a schema including name and version","modifier":"Sealed","properties":[{"name":"SchemaName","type":"PrimitiveProperty","description":"Name of schema, excluding version","label":"Schema Name","typeName":"string"},{"name":"MajorVersion","type":"PrimitiveProperty","description":"[This].[Write].[Minor]","label":"Major Version","typeName":"int"},{"name":"MinorVersion","type":"PrimitiveProperty","description":"[Major].[Write].[This]","label":"Minor Version","typeName":"int"},{"name":"WriteVersion","type":"PrimitiveProperty","description":"[Major].[This].[Minor]","typeName":"int"}]},"SupplementalProvenance":{"schemaItemType":"CustomAttributeClass","modifier":"Sealed","properties":[{"name":"SupplementalSchemaNamesAndPurposes","type":"StructArrayProperty","typeName":"CoreCustomAttributes.SchemaNameAndPurpose","minOccurs":0,"maxOccurs":2147483647}],"appliesTo":"Schema"},"SupplementalSchema":{"schemaItemType":"CustomAttributeClass","label":"Supplemental Schema","description":"Identifies a schema as a supplemental schema and stores extra metadata necessary for supplemental schemas","modifier":"Sealed","properties":[{"name":"PrimarySchemaReference","type":"StructProperty","description":"References the primary schema this supplemental should be applied to","label":"Primary Schema Reference","typeName":"CoreCustomAttributes.SchemaReference"},{"name":"Precedence","type":"PrimitiveProperty","description":"Positive integer defining the precedence of this supplemental schema. Higher precedences override lower precences. The primary schema is considered to have a precedence between 199 and 200.","typeName":"int"},{"name":"Purpose","type":"PrimitiveProperty","description":"A string representing the function of this supplemental schema. Standard name formatting for a supplemental schema is <PrimarySchemaName>_Supplemental_<Purpose>","typeName":"string"}],"appliesTo":"Schema"}}} | ||
{"$schema":"https://dev.bentley.com/json_schemas/ec/32/ecschema","name":"CoreCustomAttributes","version":"01.00.02","alias":"CoreCA","label":"Core Custom Attributes","description":"Custom attributes to indicate core EC concepts, may include struct classes intended for use in core custom attributes.","items":{"ClassHasCurrentTimeStampProperty":{"schemaItemType":"CustomAttributeClass","modifier":"Sealed","properties":[{"name":"PropertyName","type":"PrimitiveProperty","typeName":"string"}],"appliesTo":"EntityClass"},"DateTimeComponent":{"schemaItemType":"Enumeration","type":"string","isStrict":true,"enumerators":[{"name":"DateTime","value":"DateTime"},{"name":"Date","value":"Date"},{"name":"TimeOfDay","value":"TimeOfDay"}]},"DateTimeInfo":{"schemaItemType":"CustomAttributeClass","description":"Optional additional meta data for ECProperties of type DateTime.","modifier":"Sealed","properties":[{"name":"DateTimeKind","type":"PrimitiveProperty","description":"Either Utc, Local or Unspecified. Default: Unspecified. When specifying a DateTimeKind, it is usually not necessary to specify a DateTimeComponent because a DateTimeKind implies the DateTimeComponent 'DateTime'.","typeName":"CoreCustomAttributes.DateTimeKind"},{"name":"DateTimeComponent","type":"PrimitiveProperty","description":"Either DateTime or Date. Default: DateTime. Specifying 'Date' usually implies that a DateTimeKind is irrelevant, because dates (without time) don't need any timezone information.","typeName":"CoreCustomAttributes.DateTimeComponent"}],"appliesTo":"PrimitiveProperty, ArrayProperty"},"DateTimeKind":{"schemaItemType":"Enumeration","type":"string","isStrict":true,"enumerators":[{"name":"Unspecified","value":"Unspecified"},{"name":"Utc","value":"Utc"},{"name":"Local","value":"Local"}]},"Deprecated":{"schemaItemType":"CustomAttributeClass","description":"Identifies a schema or item within a schema as deprecated. Deprecated things should not be used.","modifier":"Sealed","properties":[{"name":"Description","type":"PrimitiveProperty","description":"Gives advice about avoiding the deprecated item or other helpful information related to the deprecation of the item.","typeName":"string"}],"appliesTo":"Any"},"DynamicSchema":{"schemaItemType":"CustomAttributeClass","label":"Dynamic Schema","description":"Identifies a schema as dynamically generated by an application. Like versions of a schema may differ and are not guaranteed to merge without conflicts.","modifier":"Sealed","appliesTo":"Schema"},"Extension":{"schemaItemType":"CustomAttributeClass","description":"Used to indicate that the property this custom attribute is applied to is an extension property.","modifier":"Sealed","properties":[{"name":"Origin","type":"PrimitiveProperty","description":"Extension origin.","typeName":"string"}],"appliesTo":"AnyProperty"},"HiddenClass":{"schemaItemType":"CustomAttributeClass","description":"Identifies a class which is designed to be hidden from teh user interface. Hides the class it is applied to and all derived classes","modifier":"Sealed","properties":[{"name":"Show","type":"PrimitiveProperty","description":"If set to true show the hidden class. Defaults to False. Allows a derived class to be shown even though it's base class is hidden","typeName":"boolean"}],"appliesTo":"AnyClass"},"HiddenProperty":{"schemaItemType":"CustomAttributeClass","description":"Identifies a property which is designed to be hidden from the user interface","modifier":"Sealed","properties":[{"name":"Show","type":"PrimitiveProperty","description":"If set to true show the hidden property. Defaults to False. Allows a property override to show a hidden property in a derived class","typeName":"boolean"}],"appliesTo":"AnyProperty"},"HiddenSchema":{"schemaItemType":"CustomAttributeClass","description":"Identifies a schema which is designed to be hidden from the user interface. By default all classes in the schema are hidden as well.","modifier":"Sealed","properties":[{"name":"ShowClasses","type":"PrimitiveProperty","description":"If true classe in the schema will be shown. Default is False. If set to true individual classes may be hidden using the HiddenClass custom attribute","typeName":"boolean"}],"appliesTo":"Schema"},"IsMixin":{"schemaItemType":"CustomAttributeClass","label":"Is Mixin","description":"Applied to abstract ECEntityClasses which serve as secondary base classes for normal ECEntityClasses.","modifier":"Sealed","properties":[{"name":"AppliesToEntityClass","type":"PrimitiveProperty","description":"This mixin may only be applied to entity classes which derive from this class. Class Name should be fully specified as 'alias:ClassName'","typeName":"string"}],"appliesTo":"EntityClass"},"Localizable":{"schemaItemType":"CustomAttributeClass","label":"Localizable","description":"Applied to a property to indicate that custom attributes using this property can be localized.","modifier":"Sealed","appliesTo":"PrimitiveProperty"},"NotSubclassableInReferencingSchemas":{"schemaItemType":"CustomAttributeClass","description":"Makes a class 'sealed' outside of the schema containing the class","modifier":"Sealed","properties":[{"name":"Exceptions","type":"PrimitiveArrayProperty","description":"Optionally allows specific classes in other schemas to subclass this class. Use format '[SchemaName]:[ClassName]', e.g. 'Fruit:Banana'","typeName":"string","minOccurs":0,"maxOccurs":2147483647}],"appliesTo":"AnyClass"},"PartialSchema":{"schemaItemType":"CustomAttributeClass","label":"Partial Schema","description":"Identifies a schema file/object that may only contain part of the complete schema. Like versions of a schema may differ but are guaranteed to merge without conflicts.","modifier":"Sealed","appliesTo":"Schema"},"SchemaNameAndPurpose":{"schemaItemType":"StructClass","description":"Used to define a supplemental schema and its purpose","modifier":"Sealed","properties":[{"name":"SchemaName","type":"PrimitiveProperty","description":"Full name of the supplemental schema","typeName":"string"},{"name":"Purpose","type":"PrimitiveProperty","description":"Purpose of the supplemental schema","typeName":"string"}]},"SchemaReference":{"schemaItemType":"StructClass","label":"Schema Reference","description":"Reference to a schema including name and version","modifier":"Sealed","properties":[{"name":"SchemaName","type":"PrimitiveProperty","description":"Name of schema, excluding version","label":"Schema Name","typeName":"string"},{"name":"MajorVersion","type":"PrimitiveProperty","description":"[This].[Write].[Minor]","label":"Major Version","typeName":"int"},{"name":"MinorVersion","type":"PrimitiveProperty","description":"[Major].[Write].[This]","label":"Minor Version","typeName":"int"},{"name":"WriteVersion","type":"PrimitiveProperty","description":"[Major].[This].[Minor]","typeName":"int"}]},"SupplementalProvenance":{"schemaItemType":"CustomAttributeClass","modifier":"Sealed","properties":[{"name":"SupplementalSchemaNamesAndPurposes","type":"StructArrayProperty","typeName":"CoreCustomAttributes.SchemaNameAndPurpose","minOccurs":0,"maxOccurs":2147483647}],"appliesTo":"Schema"},"SupplementalSchema":{"schemaItemType":"CustomAttributeClass","label":"Supplemental Schema","description":"Identifies a schema as a supplemental schema and stores extra metadata necessary for supplemental schemas","modifier":"Sealed","properties":[{"name":"PrimarySchemaReference","type":"StructProperty","description":"References the primary schema this supplemental should be applied to","label":"Primary Schema Reference","typeName":"CoreCustomAttributes.SchemaReference"},{"name":"Precedence","type":"PrimitiveProperty","description":"Positive integer defining the precedence of this supplemental schema. Higher precedences override lower precences. The primary schema is considered to have a precedence between 199 and 200.","typeName":"int"},{"name":"Purpose","type":"PrimitiveProperty","description":"A string representing the function of this supplemental schema. Standard name formatting for a supplemental schema is <PrimarySchemaName>_Supplemental_<Purpose>","typeName":"string"}],"appliesTo":"Schema"}}} |
{ | ||
"name": "@bentley/core-custom-attributes-schema", | ||
"license": "MIT", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://www.imodeljs.org/", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
18394
3.71%