diff --git a/dotnet/src/DTDLParser/generated/ContextCollection.g.cs b/dotnet/src/DTDLParser/generated/ContextCollection.g.cs index d43959ec..9526877a 100644 --- a/dotnet/src/DTDLParser/generated/ContextCollection.g.cs +++ b/dotnet/src/DTDLParser/generated/ContextCollection.g.cs @@ -43,8 +43,7 @@ static ContextCollection() EndogenousAffiliateContextHistories["dtmi:dtdl:extension:overriding"] = GetAffiliate3ContextHistory(); EndogenousAffiliateContextHistories["dtmi:dtdl:extension:quantitativeTypes"] = GetAffiliate4ContextHistory(); EndogenousAffiliateContextHistories["dtmi:dtdl:extension:requirement"] = GetAffiliate5ContextHistory(); - EndogenousAffiliateContextHistories["dtmi:dtdl:limits:onvif"] = GetAffiliate6ContextHistory(); - EndogenousAffiliateContextHistories["dtmi:iotcentral:context"] = GetAffiliate7ContextHistory(); + EndogenousAffiliateContextHistories["dtmi:iotcentral:context"] = GetAffiliate6ContextHistory(); } private static ContextHistory GetAffiliate0ContextHistory() @@ -911,16 +910,6 @@ private static ContextHistory GetAffiliate6ContextHistory() { List versionedContexts = new List(); - VersionedContext context1_0 = new VersionedContext("dtmi:dtdl:limits:onvif;1", 1, 0, 4, "onvif_1", mergeDefinitions: false); - versionedContexts.Add(context1_0); - - return new ContextHistory(versionedContexts); - } - - private static ContextHistory GetAffiliate7ContextHistory() - { - List versionedContexts = new List(); - VersionedContext context2_0 = new VersionedContext("dtmi:iotcentral:context;2", 2, 0, 0, null, mergeDefinitions: false); context2_0.ReserveIdDefinitionPrefix("dtmi:iotcentral:"); context2_0.AddTermDefinition("AccelerationVector", new Dtmi("dtmi:iotcentral:class:AccelerationVector;2"), isMergeableType: false); diff --git a/dotnet/src/DTDLParser/generated/DTArrayInfo.g.cs b/dotnet/src/DTDLParser/generated/DTArrayInfo.g.cs index f2954ed2..97800866 100644 --- a/dotnet/src/DTDLParser/generated/DTArrayInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTArrayInfo.g.cs @@ -2842,13 +2842,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2909,13 +2903,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2962,13 +2950,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) @@ -3380,13 +3362,7 @@ private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) } } - int maxDepthOfElementSchemaOrSchema = this.LimitSpecifier switch - { - "" => 8, - "onvif_1" => 16, - _ => 0, - }; - + int maxDepthOfElementSchemaOrSchema = 8; List tooDeepElementSchemaOrSchemaElementIds = new List(); if (!this.CheckDepthOfElementSchemaOrSchema(0, maxDepthOfElementSchemaOrSchema, true, tooDeepElementSchemaOrSchemaElementIds, out Dictionary tooDeepElementSchemaOrSchemaElts, parsingErrorCollection) && tooDeepElementSchemaOrSchemaElementIds != null) { diff --git a/dotnet/src/DTDLParser/generated/DTBooleanInfo.g.cs b/dotnet/src/DTDLParser/generated/DTBooleanInfo.g.cs index caa78c3a..934dbde1 100644 --- a/dotnet/src/DTDLParser/generated/DTBooleanInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTBooleanInfo.g.cs @@ -2595,13 +2595,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2662,13 +2656,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2715,13 +2703,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTByteInfo.g.cs b/dotnet/src/DTDLParser/generated/DTByteInfo.g.cs index 7caa4305..23ece1f3 100644 --- a/dotnet/src/DTDLParser/generated/DTByteInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTByteInfo.g.cs @@ -1548,13 +1548,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1615,13 +1609,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1668,13 +1656,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTBytesInfo.g.cs b/dotnet/src/DTDLParser/generated/DTBytesInfo.g.cs index fa0c479c..5b21da7c 100644 --- a/dotnet/src/DTDLParser/generated/DTBytesInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTBytesInfo.g.cs @@ -1537,13 +1537,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1604,13 +1598,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1657,13 +1645,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTCommandInfo.g.cs b/dotnet/src/DTDLParser/generated/DTCommandInfo.g.cs index fc25215b..c540f1dc 100644 --- a/dotnet/src/DTDLParser/generated/DTCommandInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTCommandInfo.g.cs @@ -3234,13 +3234,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3301,13 +3295,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3354,13 +3342,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTCommandPayloadInfo.g.cs b/dotnet/src/DTDLParser/generated/DTCommandPayloadInfo.g.cs index 81704103..8f05e1d6 100644 --- a/dotnet/src/DTDLParser/generated/DTCommandPayloadInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTCommandPayloadInfo.g.cs @@ -2979,13 +2979,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3046,13 +3040,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3099,13 +3087,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTCommandRequestInfo.g.cs b/dotnet/src/DTDLParser/generated/DTCommandRequestInfo.g.cs index 9c51484a..66664e9b 100644 --- a/dotnet/src/DTDLParser/generated/DTCommandRequestInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTCommandRequestInfo.g.cs @@ -2386,13 +2386,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2453,13 +2447,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2506,13 +2494,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTCommandResponseInfo.g.cs b/dotnet/src/DTDLParser/generated/DTCommandResponseInfo.g.cs index f8284181..c29b2986 100644 --- a/dotnet/src/DTDLParser/generated/DTCommandResponseInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTCommandResponseInfo.g.cs @@ -2386,13 +2386,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2453,13 +2447,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2506,13 +2494,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTCommandTypeInfo.g.cs b/dotnet/src/DTDLParser/generated/DTCommandTypeInfo.g.cs index 53cfb95d..0a53eb0b 100644 --- a/dotnet/src/DTDLParser/generated/DTCommandTypeInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTCommandTypeInfo.g.cs @@ -2515,13 +2515,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2582,13 +2576,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2635,13 +2623,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTComplexSchemaInfo.g.cs b/dotnet/src/DTDLParser/generated/DTComplexSchemaInfo.g.cs index 71d22b9b..baf63c2b 100644 --- a/dotnet/src/DTDLParser/generated/DTComplexSchemaInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTComplexSchemaInfo.g.cs @@ -2297,13 +2297,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2345,13 +2339,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2398,13 +2386,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) @@ -2605,13 +2587,7 @@ private void CheckRestrictionsV3(ParsingErrorCollection parsingErrorCollection) /// private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) { - int maxDepthOfElementSchemaOrSchema = this.LimitSpecifier switch - { - "" => 8, - "onvif_1" => 16, - _ => 0, - }; - + int maxDepthOfElementSchemaOrSchema = 8; List tooDeepElementSchemaOrSchemaElementIds = new List(); if (!this.CheckDepthOfElementSchemaOrSchema(0, maxDepthOfElementSchemaOrSchema, true, tooDeepElementSchemaOrSchemaElementIds, out Dictionary tooDeepElementSchemaOrSchemaElts, parsingErrorCollection) && tooDeepElementSchemaOrSchemaElementIds != null) { diff --git a/dotnet/src/DTDLParser/generated/DTComponentInfo.g.cs b/dotnet/src/DTDLParser/generated/DTComponentInfo.g.cs index 09f67e53..692f3db2 100644 --- a/dotnet/src/DTDLParser/generated/DTComponentInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTComponentInfo.g.cs @@ -2972,13 +2972,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3039,13 +3033,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3092,13 +3080,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTContentInfo.g.cs b/dotnet/src/DTDLParser/generated/DTContentInfo.g.cs index c640f97d..16d0d518 100644 --- a/dotnet/src/DTDLParser/generated/DTContentInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTContentInfo.g.cs @@ -2438,13 +2438,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2486,13 +2480,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2539,13 +2527,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTDateInfo.g.cs b/dotnet/src/DTDLParser/generated/DTDateInfo.g.cs index cb23ff3c..0723d773 100644 --- a/dotnet/src/DTDLParser/generated/DTDateInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTDateInfo.g.cs @@ -2614,13 +2614,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2681,13 +2675,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2734,13 +2722,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTDateTimeInfo.g.cs b/dotnet/src/DTDLParser/generated/DTDateTimeInfo.g.cs index f82cb102..16eb0ab7 100644 --- a/dotnet/src/DTDLParser/generated/DTDateTimeInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTDateTimeInfo.g.cs @@ -2614,13 +2614,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2681,13 +2675,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2734,13 +2722,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTDecimalInfo.g.cs b/dotnet/src/DTDLParser/generated/DTDecimalInfo.g.cs index ddb2c930..2ee0622e 100644 --- a/dotnet/src/DTDLParser/generated/DTDecimalInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTDecimalInfo.g.cs @@ -1550,13 +1550,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1617,13 +1611,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1670,13 +1658,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTDoubleInfo.g.cs b/dotnet/src/DTDLParser/generated/DTDoubleInfo.g.cs index 97c7aa62..a1c36550 100644 --- a/dotnet/src/DTDLParser/generated/DTDoubleInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTDoubleInfo.g.cs @@ -2608,13 +2608,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2675,13 +2669,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2728,13 +2716,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTDurationInfo.g.cs b/dotnet/src/DTDLParser/generated/DTDurationInfo.g.cs index 2c03911b..731b5ac3 100644 --- a/dotnet/src/DTDLParser/generated/DTDurationInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTDurationInfo.g.cs @@ -2614,13 +2614,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2681,13 +2675,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2734,13 +2722,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTEntityInfo.g.cs b/dotnet/src/DTDLParser/generated/DTEntityInfo.g.cs index 8404d00f..e4197e72 100644 --- a/dotnet/src/DTDLParser/generated/DTEntityInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTEntityInfo.g.cs @@ -2092,13 +2092,7 @@ internal static bool TryParseTypeStringV4(string typeString, Dtmi elementId, str return true; case "Interface": case "dtmi:dtdl:class:Interface;4": - int interfaceMaxIdLength = aggregateContext.LimitSpecifier switch - { - "" => 128, - "onvif_1" => 256, - _ => 0, - }; - + int interfaceMaxIdLength = 128; if (elementId.AbsoluteUri.Length > interfaceMaxIdLength) { parsingErrorCollection.Notify( @@ -3230,13 +3224,7 @@ internal virtual void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3278,13 +3266,7 @@ internal virtual void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3331,13 +3313,7 @@ internal virtual void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTEnumInfo.g.cs b/dotnet/src/DTDLParser/generated/DTEnumInfo.g.cs index edb3f75d..ebb8f446 100644 --- a/dotnet/src/DTDLParser/generated/DTEnumInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTEnumInfo.g.cs @@ -2967,13 +2967,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3034,13 +3028,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3087,13 +3075,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) @@ -3740,13 +3722,7 @@ private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) } } - int maxDepthOfElementSchemaOrSchema = this.LimitSpecifier switch - { - "" => 8, - "onvif_1" => 16, - _ => 0, - }; - + int maxDepthOfElementSchemaOrSchema = 8; List tooDeepElementSchemaOrSchemaElementIds = new List(); if (!this.CheckDepthOfElementSchemaOrSchema(0, maxDepthOfElementSchemaOrSchema, true, tooDeepElementSchemaOrSchemaElementIds, out Dictionary tooDeepElementSchemaOrSchemaElts, parsingErrorCollection) && tooDeepElementSchemaOrSchemaElementIds != null) { diff --git a/dotnet/src/DTDLParser/generated/DTEnumValueInfo.g.cs b/dotnet/src/DTDLParser/generated/DTEnumValueInfo.g.cs index 09677366..9321c456 100644 --- a/dotnet/src/DTDLParser/generated/DTEnumValueInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTEnumValueInfo.g.cs @@ -2961,13 +2961,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3028,13 +3022,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3081,13 +3069,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTFieldInfo.g.cs b/dotnet/src/DTDLParser/generated/DTFieldInfo.g.cs index f69a4962..a0627f56 100644 --- a/dotnet/src/DTDLParser/generated/DTFieldInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTFieldInfo.g.cs @@ -2984,13 +2984,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3051,13 +3045,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3104,13 +3092,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTFloatInfo.g.cs b/dotnet/src/DTDLParser/generated/DTFloatInfo.g.cs index 1e6efc4a..bbcd6a61 100644 --- a/dotnet/src/DTDLParser/generated/DTFloatInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTFloatInfo.g.cs @@ -2608,13 +2608,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2675,13 +2669,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2728,13 +2716,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTIntegerInfo.g.cs b/dotnet/src/DTDLParser/generated/DTIntegerInfo.g.cs index 587cde9d..10825ff8 100644 --- a/dotnet/src/DTDLParser/generated/DTIntegerInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTIntegerInfo.g.cs @@ -2608,13 +2608,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2675,13 +2669,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2728,13 +2716,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTInterfaceInfo.g.cs b/dotnet/src/DTDLParser/generated/DTInterfaceInfo.g.cs index 612505dd..330aa12e 100644 --- a/dotnet/src/DTDLParser/generated/DTInterfaceInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTInterfaceInfo.g.cs @@ -1585,13 +1585,7 @@ internal static bool TryParseTypeStringV4(string typeString, Dtmi elementId, str { case "Interface": case "dtmi:dtdl:class:Interface;4": - int interfaceMaxIdLength = aggregateContext.LimitSpecifier switch - { - "" => 128, - "onvif_1" => 256, - _ => 0, - }; - + int interfaceMaxIdLength = 128; if (elementId.AbsoluteUri.Length > interfaceMaxIdLength) { parsingErrorCollection.Notify( @@ -3220,13 +3214,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3306,13 +3294,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3359,13 +3341,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) @@ -3760,13 +3736,7 @@ private void ApplyTransformationsV4(Model model, ParsingErrorCollection parsingE this.originalContents = new Dictionary((Dictionary)this.Contents); } - int maxDepthOfExtends = this.LimitSpecifier switch - { - "" => 12, - "onvif_1" => 12, - _ => 0, - }; - + int maxDepthOfExtends = 12; List tooDeepElementIds = new List(); HashSet sources = this.GetTransitiveExtendsNarrow(0, maxDepthOfExtends, false, tooDeepElementIds, out Dictionary tooDeepElts, parsingErrorCollection); @@ -3877,13 +3847,7 @@ private void CheckRestrictionsV3(ParsingErrorCollection parsingErrorCollection) /// private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) { - int maxCountOfExtends = this.LimitSpecifier switch - { - "" => 1024, - "onvif_1" => 1024, - _ => 0, - }; - + int maxCountOfExtends = 1024; int numExtendsNarrowValues = this.GetCountOfExtendsNarrow(false, parsingErrorCollection); if (numExtendsNarrowValues > maxCountOfExtends) { @@ -3896,13 +3860,7 @@ private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) element: this.JsonLdElements.First().Value); } - int maxCountOfContentsOrFieldsOrEnumValuesOrRequestOrResponseOrPropertiesOrSchemaOrElementSchemaOrMapValue = this.LimitSpecifier switch - { - "" => 100000, - "onvif_1" => 100000, - _ => 0, - }; - + int maxCountOfContentsOrFieldsOrEnumValuesOrRequestOrResponseOrPropertiesOrSchemaOrElementSchemaOrMapValue = 100000; int numContentsOrFieldsOrEnumValuesOrRequestOrResponseOrPropertiesOrSchemaOrElementSchemaOrMapValueNarrowValues = this.GetCountOfContentsOrFieldsOrEnumValuesOrRequestOrResponseOrPropertiesOrSchemaOrElementSchemaOrMapValueNarrow(true, parsingErrorCollection); if (numContentsOrFieldsOrEnumValuesOrRequestOrResponseOrPropertiesOrSchemaOrElementSchemaOrMapValueNarrowValues > maxCountOfContentsOrFieldsOrEnumValuesOrRequestOrResponseOrPropertiesOrSchemaOrElementSchemaOrMapValue) { diff --git a/dotnet/src/DTDLParser/generated/DTLatentTypeInfo.g.cs b/dotnet/src/DTDLParser/generated/DTLatentTypeInfo.g.cs index 4c0bb7e6..3a55e97b 100644 --- a/dotnet/src/DTDLParser/generated/DTLatentTypeInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTLatentTypeInfo.g.cs @@ -2008,13 +2008,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2075,13 +2069,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2128,13 +2116,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTLongInfo.g.cs b/dotnet/src/DTDLParser/generated/DTLongInfo.g.cs index fc33f8ab..b4d3e04d 100644 --- a/dotnet/src/DTDLParser/generated/DTLongInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTLongInfo.g.cs @@ -2608,13 +2608,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2675,13 +2669,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2728,13 +2716,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTMapInfo.g.cs b/dotnet/src/DTDLParser/generated/DTMapInfo.g.cs index 472ed45e..79bb4577 100644 --- a/dotnet/src/DTDLParser/generated/DTMapInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTMapInfo.g.cs @@ -2997,13 +2997,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3064,13 +3058,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3117,13 +3105,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) @@ -3643,13 +3625,7 @@ private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) } } - int maxDepthOfElementSchemaOrSchema = this.LimitSpecifier switch - { - "" => 8, - "onvif_1" => 16, - _ => 0, - }; - + int maxDepthOfElementSchemaOrSchema = 8; List tooDeepElementSchemaOrSchemaElementIds = new List(); if (!this.CheckDepthOfElementSchemaOrSchema(0, maxDepthOfElementSchemaOrSchema, true, tooDeepElementSchemaOrSchemaElementIds, out Dictionary tooDeepElementSchemaOrSchemaElts, parsingErrorCollection) && tooDeepElementSchemaOrSchemaElementIds != null) { diff --git a/dotnet/src/DTDLParser/generated/DTMapKeyInfo.g.cs b/dotnet/src/DTDLParser/generated/DTMapKeyInfo.g.cs index 1ff936c9..a428b341 100644 --- a/dotnet/src/DTDLParser/generated/DTMapKeyInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTMapKeyInfo.g.cs @@ -2959,13 +2959,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3026,13 +3020,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3079,13 +3067,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTMapValueInfo.g.cs b/dotnet/src/DTDLParser/generated/DTMapValueInfo.g.cs index df33b4a2..297ae5f8 100644 --- a/dotnet/src/DTDLParser/generated/DTMapValueInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTMapValueInfo.g.cs @@ -2984,13 +2984,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3051,13 +3045,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3104,13 +3092,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTNamedEntityInfo.g.cs b/dotnet/src/DTDLParser/generated/DTNamedEntityInfo.g.cs index f552cd86..101a102a 100644 --- a/dotnet/src/DTDLParser/generated/DTNamedEntityInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTNamedEntityInfo.g.cs @@ -2498,13 +2498,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2546,13 +2540,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2599,13 +2587,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTNamedLatentTypeInfo.g.cs b/dotnet/src/DTDLParser/generated/DTNamedLatentTypeInfo.g.cs index 954eaeff..91e27764 100644 --- a/dotnet/src/DTDLParser/generated/DTNamedLatentTypeInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTNamedLatentTypeInfo.g.cs @@ -2106,13 +2106,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2173,13 +2167,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2226,13 +2214,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTNumericSchemaInfo.g.cs b/dotnet/src/DTDLParser/generated/DTNumericSchemaInfo.g.cs index 023a0579..f69d7ff4 100644 --- a/dotnet/src/DTDLParser/generated/DTNumericSchemaInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTNumericSchemaInfo.g.cs @@ -2185,13 +2185,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2233,13 +2227,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2286,13 +2274,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTObjectInfo.g.cs b/dotnet/src/DTDLParser/generated/DTObjectInfo.g.cs index 78cf328e..c75f72fd 100644 --- a/dotnet/src/DTDLParser/generated/DTObjectInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTObjectInfo.g.cs @@ -2802,13 +2802,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2869,13 +2863,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2922,13 +2910,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) @@ -3354,13 +3336,7 @@ private void CheckRestrictionsV4(ParsingErrorCollection parsingErrorCollection) fieldsNameSet.Add(item.Name); } - int maxDepthOfElementSchemaOrSchema = this.LimitSpecifier switch - { - "" => 8, - "onvif_1" => 16, - _ => 0, - }; - + int maxDepthOfElementSchemaOrSchema = 8; List tooDeepElementSchemaOrSchemaElementIds = new List(); if (!this.CheckDepthOfElementSchemaOrSchema(0, maxDepthOfElementSchemaOrSchema, true, tooDeepElementSchemaOrSchemaElementIds, out Dictionary tooDeepElementSchemaOrSchemaElts, parsingErrorCollection) && tooDeepElementSchemaOrSchemaElementIds != null) { diff --git a/dotnet/src/DTDLParser/generated/DTPrimitiveSchemaInfo.g.cs b/dotnet/src/DTDLParser/generated/DTPrimitiveSchemaInfo.g.cs index f9115379..e4ac8cf2 100644 --- a/dotnet/src/DTDLParser/generated/DTPrimitiveSchemaInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTPrimitiveSchemaInfo.g.cs @@ -2192,13 +2192,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2240,13 +2234,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2293,13 +2281,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTPropertyInfo.g.cs b/dotnet/src/DTDLParser/generated/DTPropertyInfo.g.cs index a58ef1fe..70434844 100644 --- a/dotnet/src/DTDLParser/generated/DTPropertyInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTPropertyInfo.g.cs @@ -3115,13 +3115,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3182,13 +3176,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3235,13 +3223,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTRelationshipInfo.g.cs b/dotnet/src/DTDLParser/generated/DTRelationshipInfo.g.cs index 15ecc8fa..3ada7214 100644 --- a/dotnet/src/DTDLParser/generated/DTRelationshipInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTRelationshipInfo.g.cs @@ -3454,13 +3454,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3521,13 +3515,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3574,13 +3562,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTSchemaFieldInfo.g.cs b/dotnet/src/DTDLParser/generated/DTSchemaFieldInfo.g.cs index 5029952f..34ec29fc 100644 --- a/dotnet/src/DTDLParser/generated/DTSchemaFieldInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTSchemaFieldInfo.g.cs @@ -2500,13 +2500,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2548,13 +2542,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2601,13 +2589,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTSchemaInfo.g.cs b/dotnet/src/DTDLParser/generated/DTSchemaInfo.g.cs index a47eae91..0d6652a6 100644 --- a/dotnet/src/DTDLParser/generated/DTSchemaInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTSchemaInfo.g.cs @@ -2323,13 +2323,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2371,13 +2365,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2424,13 +2412,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTShortInfo.g.cs b/dotnet/src/DTDLParser/generated/DTShortInfo.g.cs index caf979eb..0af616fb 100644 --- a/dotnet/src/DTDLParser/generated/DTShortInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTShortInfo.g.cs @@ -1548,13 +1548,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1615,13 +1609,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1668,13 +1656,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTStringInfo.g.cs b/dotnet/src/DTDLParser/generated/DTStringInfo.g.cs index 12fd429b..869e6905 100644 --- a/dotnet/src/DTDLParser/generated/DTStringInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTStringInfo.g.cs @@ -2595,13 +2595,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2662,13 +2656,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2715,13 +2703,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTTelemetryInfo.g.cs b/dotnet/src/DTDLParser/generated/DTTelemetryInfo.g.cs index f2c1e706..9a940c31 100644 --- a/dotnet/src/DTDLParser/generated/DTTelemetryInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTTelemetryInfo.g.cs @@ -2972,13 +2972,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -3039,13 +3033,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -3092,13 +3080,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTTemporalSchemaInfo.g.cs b/dotnet/src/DTDLParser/generated/DTTemporalSchemaInfo.g.cs index 1b0bebd0..d2b32a52 100644 --- a/dotnet/src/DTDLParser/generated/DTTemporalSchemaInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTTemporalSchemaInfo.g.cs @@ -2178,13 +2178,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2226,13 +2220,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2279,13 +2267,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTTimeInfo.g.cs b/dotnet/src/DTDLParser/generated/DTTimeInfo.g.cs index f39b9a64..57d5d173 100644 --- a/dotnet/src/DTDLParser/generated/DTTimeInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTTimeInfo.g.cs @@ -2614,13 +2614,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2681,13 +2675,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2734,13 +2722,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUnitAttributeInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUnitAttributeInfo.g.cs index 8167096d..92e837ee 100644 --- a/dotnet/src/DTDLParser/generated/DTUnitAttributeInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUnitAttributeInfo.g.cs @@ -2603,13 +2603,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2670,13 +2664,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2723,13 +2711,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUnitInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUnitInfo.g.cs index 1fd3e9fa..1ebcdc42 100644 --- a/dotnet/src/DTDLParser/generated/DTUnitInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUnitInfo.g.cs @@ -2585,13 +2585,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -2652,13 +2646,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -2705,13 +2693,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUnsignedByteInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUnsignedByteInfo.g.cs index c66cc1b7..cb4a1639 100644 --- a/dotnet/src/DTDLParser/generated/DTUnsignedByteInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUnsignedByteInfo.g.cs @@ -1550,13 +1550,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1617,13 +1611,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1670,13 +1658,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUnsignedIntegerInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUnsignedIntegerInfo.g.cs index 4e2e5780..0de716f5 100644 --- a/dotnet/src/DTDLParser/generated/DTUnsignedIntegerInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUnsignedIntegerInfo.g.cs @@ -1550,13 +1550,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1617,13 +1611,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1670,13 +1658,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUnsignedLongInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUnsignedLongInfo.g.cs index 2ed6ff3d..9303ede6 100644 --- a/dotnet/src/DTDLParser/generated/DTUnsignedLongInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUnsignedLongInfo.g.cs @@ -1550,13 +1550,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1617,13 +1611,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1670,13 +1658,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUnsignedShortInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUnsignedShortInfo.g.cs index d3f145e2..0af27baf 100644 --- a/dotnet/src/DTDLParser/generated/DTUnsignedShortInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUnsignedShortInfo.g.cs @@ -1550,13 +1550,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1617,13 +1611,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1670,13 +1658,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/DTUuidInfo.g.cs b/dotnet/src/DTDLParser/generated/DTUuidInfo.g.cs index c05759d4..973a5da5 100644 --- a/dotnet/src/DTDLParser/generated/DTUuidInfo.g.cs +++ b/dotnet/src/DTDLParser/generated/DTUuidInfo.g.cs @@ -1537,13 +1537,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; string newComment = ValueParser.ParseSingularStringValueCollection(aggregateContext, this.Id, "comment", prop.Values, maxLength, null, layer, parsingErrorCollection, isOptional: true); if (this.commentPropertyLayer != null) { @@ -1604,13 +1598,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDescription = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "description", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List descriptionCodes = Helpers.GetKeysWithDifferingLiteralValues(this.Description, newDescription); if (descriptionCodes.Any()) @@ -1657,13 +1645,7 @@ internal override void ParsePropertiesV4(Model model, List 512, - "onvif_1" => 512, - _ => null, - }; - + int? maxLength = 512; Dictionary newDisplayName = ValueParser.ParseLangStringValueCollection(aggregateContext, this.Id, "displayName", prop.Values, "en", maxLength, null, layer, parsingErrorCollection); List displayNameCodes = Helpers.GetKeysWithDifferingLiteralValues(this.DisplayName, newDisplayName); if (displayNameCodes.Any()) diff --git a/dotnet/src/DTDLParser/generated/IdValidator.g.cs b/dotnet/src/DTDLParser/generated/IdValidator.g.cs index 1f78d990..36a4c8cb 100644 --- a/dotnet/src/DTDLParser/generated/IdValidator.g.cs +++ b/dotnet/src/DTDLParser/generated/IdValidator.g.cs @@ -37,7 +37,6 @@ static IdValidator() IdDefinitionMaxLengths[4] = new Dictionary { { "", 2048 }, - { "onvif_1", 512 }, }; IdDefinitionRegexPatterns[4] = new Regex(@"^dtmi:[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?(?::[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?)*(?:;[1-9][0-9]{0,8}(?:\.[1-9][0-9]{0,5})?)?$", RegexOptions.Compiled); @@ -57,7 +56,6 @@ static IdValidator() IdReferenceMaxLengths[4] = new Dictionary { { "", 2048 }, - { "onvif_1", 512 }, }; IdReferenceRegexPatterns[4] = new Regex(@"^dtmi:[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?(?::[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?)*(?:;[1-9][0-9]{0,8}(?:\.[1-9][0-9]{0,5})?)?$", RegexOptions.Compiled); diff --git a/dotnet/src/DTDLParser/generated/ModelElements.g.json b/dotnet/src/DTDLParser/generated/ModelElements.g.json index 8fb4ac69..535cbfa1 100644 --- a/dotnet/src/DTDLParser/generated/ModelElements.g.json +++ b/dotnet/src/DTDLParser/generated/ModelElements.g.json @@ -13,7 +13,7 @@ "@id": "dtmi:dtdl:instance:Schema:double;2", "@type": "Double", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "displayName": "double" }, @@ -22,7 +22,7 @@ "@id": "dtmi:dtdl:instance:Schema:float;2", "@type": "Float", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "displayName": "float" }, @@ -129,7 +129,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:double;2", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "displayName": "double" }, @@ -142,7 +142,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:float;2", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "displayName": "float" }, @@ -288,7 +288,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:double;3", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "displayName": "double" }, @@ -301,7 +301,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:float;3", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "displayName": "float" }, @@ -3469,19 +3469,19 @@ "@id": "dtmi:standard:schema:scaledDecimal;4", "@type": "Object", "description": { - "en-US": "A scaled decimal number equal to `value` * 10^`scale`" + "en-US": "A scaled decimal number equal to `value` * 10^`scale`." }, "fields": [ { "description": { - "en-US": "The significand of the scaled decimal value; not required to be integral or normalized" + "en-US": "The significand of the scaled decimal value; not required to be integral or normalized." }, "name": "value", "schema": "decimal" }, { "description": { - "en-US": "Count of decimal places to shift `value` (positive left, negative right) to yield the scaled value" + "en-US": "Count of decimal places to shift `value` (positive left, negative right) to yield the scaled value." }, "name": "scale", "schema": "short" diff --git a/dotnet/src/DTDLParser/generated/PartitionTypeCollection.g.cs b/dotnet/src/DTDLParser/generated/PartitionTypeCollection.g.cs index f5f70ff4..9adde472 100644 --- a/dotnet/src/DTDLParser/generated/PartitionTypeCollection.g.cs +++ b/dotnet/src/DTDLParser/generated/PartitionTypeCollection.g.cs @@ -40,7 +40,6 @@ static PartitionTypeCollection() PartitionMaxBytes[4] = new Dictionary { { "", 1048576 }, - { "onvif_1", 1048576 }, }; } } diff --git a/dotnet/src/DTDLParser/generated/SupplementalTypeCollection.g.cs b/dotnet/src/DTDLParser/generated/SupplementalTypeCollection.g.cs index 5dfc1672..0c0ba6b5 100644 --- a/dotnet/src/DTDLParser/generated/SupplementalTypeCollection.g.cs +++ b/dotnet/src/DTDLParser/generated/SupplementalTypeCollection.g.cs @@ -38,7 +38,6 @@ static SupplementalTypeCollection() Dtmi dtdlExtensionQuantitativeTypesContextIdV1 = new Dtmi("dtmi:dtdl:extension:quantitativeTypes;1"); Dtmi dtdlExtensionQuantitativeTypesContextIdV2 = new Dtmi("dtmi:dtdl:extension:quantitativeTypes;2"); Dtmi dtdlExtensionRequirementContextIdV1 = new Dtmi("dtmi:dtdl:extension:requirement;1"); - Dtmi dtdlLimitsOnvifContextIdV1 = new Dtmi("dtmi:dtdl:limits:onvif;1"); Dtmi iotcentralContextIdV2 = new Dtmi("dtmi:iotcentral:context;2"); Dtmi adjunctTypeTypeIdEV3 = new Dtmi("dtmi:dtdl:class:AdjunctType;3"); diff --git a/dotnet/tests/ParserUnitTest/generated/ParserUnitTest.g.cs b/dotnet/tests/ParserUnitTest/generated/ParserUnitTest.g.cs index e9491aca..5f428a6a 100644 --- a/dotnet/tests/ParserUnitTest/generated/ParserUnitTest.g.cs +++ b/dotnet/tests/ParserUnitTest/generated/ParserUnitTest.g.cs @@ -39,13 +39,11 @@ public partial class ParserUnitTest [DataRow("ArrayInPropertyV2")] [DataRow("ArrayInPropertyV3")] [DataRow("ArrayInPropertyV4")] - [DataRow("ArrayMaxDeepOnvifLimitsV4")] [DataRow("ArrayMaxDeepV2")] [DataRow("ArrayMaxDeepV3")] [DataRow("ArrayMaxDeepV4")] [DataRow("ArrayNoPartialResolveV3")] [DataRow("ArrayNoPartialResolveV4")] - [DataRow("ArrayTooDeepOnvifLimitsV4")] [DataRow("ArrayTooDeepV2")] [DataRow("ArrayTooDeepV3")] [DataRow("ArrayTooDeepV4")] @@ -666,7 +664,6 @@ public void TestParser_H(string testName) [DataRow("InterfaceExtendsIdReferenceOnResolveWithNoOptionV2")] [DataRow("InterfaceExtendsIdReferenceOnResolveWithNoOptionV3")] [DataRow("InterfaceExtendsIdReferenceOnResolveWithNoOptionV4")] - [DataRow("InterfaceExtendsMaxLongChainOnvifLimitsV4")] [DataRow("InterfaceExtendsMaxLongChainV2")] [DataRow("InterfaceExtendsMaxLongChainV3")] [DataRow("InterfaceExtendsMaxLongChainV4")] @@ -685,7 +682,6 @@ public void TestParser_H(string testName) [DataRow("InterfaceExtendsSeparateContextsV2")] [DataRow("InterfaceExtendsSeparateContextsV3")] [DataRow("InterfaceExtendsSeparateContextsV4")] - [DataRow("InterfaceExtendsTooLongChainOnvifLimitsV4")] [DataRow("InterfaceExtendsTooLongChainV2")] [DataRow("InterfaceExtendsTooLongChainV3")] [DataRow("InterfaceExtendsTooLongChainV4")] @@ -1521,11 +1517,9 @@ public void TestParser_L(string testName) [DataRow("MapMapValueSchemaSelfV2")] [DataRow("MapMapValueSchemaSelfV3")] [DataRow("MapMapValueSchemaSelfV4")] - [DataRow("MapMaxDeepOnvifLimitsV4")] [DataRow("MapMaxDeepV2")] [DataRow("MapMaxDeepV3")] [DataRow("MapMaxDeepV4")] - [DataRow("MapTooDeepOnvifLimitsV4")] [DataRow("MapTooDeepV2")] [DataRow("MapTooDeepV3")] [DataRow("MapTooDeepV4")] @@ -1642,7 +1636,6 @@ public void TestParser_N(string testName) [DataRow("ObjectInferredFieldWithSemanticTypeQuantitativeV3")] [DataRow("ObjectInferredFieldWithSemanticTypeQuantitativeV4")] [DataRow("ObjectInferredFieldWithSemanticTypeStandardV2")] - [DataRow("ObjectMaxDeepOnvifLimitsV4")] [DataRow("ObjectMaxDeepV2")] [DataRow("ObjectMaxDeepV3")] [DataRow("ObjectMaxDeepV4")] @@ -1651,7 +1644,6 @@ public void TestParser_N(string testName) [DataRow("ObjectNoFieldsV3")] [DataRow("ObjectNoFieldsV4")] [DataRow("ObjectTooBigV2")] - [DataRow("ObjectTooDeepOnvifLimitsV4")] [DataRow("ObjectTooDeepV2")] [DataRow("ObjectTooDeepV3")] [DataRow("ObjectTooDeepV4")] @@ -2090,7 +2082,6 @@ public void TestParser_S(string testName) [DataRow("TelemetryDisplayNameArrayElementValueIntegerV2")] [DataRow("TelemetryDisplayNameArrayElementValueIntegerV3")] [DataRow("TelemetryDisplayNameArrayElementValueIntegerV4")] - [DataRow("TelemetryDisplayNameArrayElementValueTooLongOnvifLimitsV4")] [DataRow("TelemetryDisplayNameArrayElementValueTooLongV2")] [DataRow("TelemetryDisplayNameArrayElementValueTooLongV3")] [DataRow("TelemetryDisplayNameArrayElementValueTooLongV4")] @@ -2133,11 +2124,9 @@ public void TestParser_S(string testName) [DataRow("TelemetryDisplayNameLanguageMapValuePropV2")] [DataRow("TelemetryDisplayNameLanguageMapValuePropV3")] [DataRow("TelemetryDisplayNameLanguageMapValuePropV4")] - [DataRow("TelemetryDisplayNameLanguageMapValueTooLongOnvifLimitsV4")] [DataRow("TelemetryDisplayNameLanguageMapValueTooLongV2")] [DataRow("TelemetryDisplayNameLanguageMapValueTooLongV3")] [DataRow("TelemetryDisplayNameLanguageMapValueTooLongV4")] - [DataRow("TelemetryDisplayNameStringTooLongOnvifLimitsV4")] [DataRow("TelemetryDisplayNameStringTooLongV2")] [DataRow("TelemetryDisplayNameStringTooLongV3")] [DataRow("TelemetryDisplayNameStringTooLongV4")] @@ -2195,7 +2184,6 @@ public void TestParser_S(string testName) [DataRow("TelemetryNameInvalidV2")] [DataRow("TelemetryNameInvalidV3")] [DataRow("TelemetryNameInvalidV4")] - [DataRow("TelemetryNameMaxLongOnvifLimitsV4")] [DataRow("TelemetryNameMaxLongV2")] [DataRow("TelemetryNameMaxLongV3")] [DataRow("TelemetryNameMaxLongV4")] @@ -2214,7 +2202,6 @@ public void TestParser_S(string testName) [DataRow("TelemetryNameStringTypedValueObjectV2")] [DataRow("TelemetryNameStringTypedValueObjectV3")] [DataRow("TelemetryNameStringTypedValueObjectV4")] - [DataRow("TelemetryNameTooLongOnvifLimitsV4")] [DataRow("TelemetryNameTooLongV2")] [DataRow("TelemetryNameTooLongV3")] [DataRow("TelemetryNameTooLongV4")] @@ -2253,20 +2240,12 @@ public void TestParser_S(string testName) [DataRow("TelemetrySchemaIntegerV4")] [DataRow("TelemetryWithDisallowedContextFragmentV2")] [DataRow("TelemetryWithDisallowedContextFragmentV3")] - [DataRow("TelemetryWithFeatureContextAfterLimitlessV4")] [DataRow("TelemetryWithInvalidFeatureContextFragmentV4")] [DataRow("TelemetryWithInvalidFirstCoreContextFragmentV4")] - [DataRow("TelemetryWithInvalidLimitContextFragmentV4")] [DataRow("TelemetryWithInvalidSecondCoreContextFragmentV4")] [DataRow("TelemetryWithLeadingCoreLimitContextV4")] - [DataRow("TelemetryWithLeadingOnvifLimitContextV4")] [DataRow("TelemetryWithLimitlessContextAtEndOfBlockV4")] [DataRow("TelemetryWithNonFollowingCoreLimitContextV4")] - [DataRow("TelemetryWithNonFollowingOnvifLimitContextV4")] - [DataRow("TelemetryWithOnvifAndExtensionContextsV4")] - [DataRow("TelemetryWithOnvifLimitsAcceptableVersionV4")] - [DataRow("TelemetryWithOnvifLimitsUnacceptableV4")] - [DataRow("TelemetryWithOnvifLimitsUnacceptableVersionV4")] [DataRow("TelemetryWithRedundantlyVerboseContextsV4")] [DataRow("TelemetryWithRepeatedLimitlessContextV4")] [DataRow("TelemetryWithSemanticTypeAbstractV2")] diff --git a/dtdl/dtdl.json b/dtdl/dtdl.json index eaa93ba3..89e7f5b3 100644 --- a/dtdl/dtdl.json +++ b/dtdl/dtdl.json @@ -12,7 +12,6 @@ "requirement": [ "1" ] }, "limitExtensions": { - "onvif": [ "1" ] }, "documentLanguages": [ "en-US" diff --git a/dtdl/dtdl_digest.json b/dtdl/dtdl_digest.json index 9ca385b8..8f460f98 100644 --- a/dtdl/dtdl_digest.json +++ b/dtdl/dtdl_digest.json @@ -1431,7 +1431,6 @@ "dtmi:dtdl:extension:requirement;1": { "Required": "dtmi:dtdl:extension:requirement:v1:Required" }, - "dtmi:dtdl:limits:onvif;1": {}, "dtmi:iotcentral:context;2": { "AccelerationVector": "dtmi:iotcentral:class:AccelerationVector;2", "Event": "dtmi:iotcentral:class:Event;2", @@ -1787,8 +1786,7 @@ ] }, "maxDepth": { - "": 8, - "onvif_1": 16 + "": 8 }, "narrow": false, "properties": [ @@ -1803,8 +1801,7 @@ "dtdlVersion": 4, "entailments": {}, "maxDepth": { - "": 8, - "onvif_1": 16 + "": 8 }, "narrow": false, "properties": [ @@ -1839,8 +1836,7 @@ ] }, "maxDepth": { - "": 8, - "onvif_1": 16 + "": 8 }, "narrow": false, "properties": [ @@ -1877,12 +1873,10 @@ "contents" ], "maxCount": { - "": 1024, - "onvif_1": 1024 + "": 1024 }, "maxDepth": { - "": 12, - "onvif_1": 12 + "": 12 }, "narrow": true, "properties": [ @@ -1896,8 +1890,7 @@ "dtdlVersion": 4, "entailments": {}, "maxCount": { - "": 100000, - "onvif_1": 100000 + "": 100000 }, "narrow": true, "properties": [ @@ -1926,8 +1919,7 @@ ] }, "maxDepth": { - "": 8, - "onvif_1": 16 + "": 8 }, "narrow": false, "properties": [ @@ -1946,8 +1938,7 @@ ] }, "maxDepth": { - "": 8, - "onvif_1": 16 + "": 8 }, "narrow": false, "properties": [ @@ -1995,7 +1986,7 @@ "@id": "dtmi:dtdl:instance:Schema:double;2", "@type": "Double", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "displayName": "double" }, @@ -2004,7 +1995,7 @@ "@id": "dtmi:dtdl:instance:Schema:float;2", "@type": "Float", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "displayName": "float" }, @@ -2111,7 +2102,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:double;2", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "displayName": "double" }, @@ -2124,7 +2115,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:float;2", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "displayName": "float" }, @@ -2270,7 +2261,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:double;3", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "displayName": "double" }, @@ -2283,7 +2274,7 @@ ], "aliasFor": "dtmi:dtdl:instance:Schema:float;3", "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "displayName": "float" }, @@ -13887,11 +13878,6 @@ "en-us": "Selectively designate one or more fields in an Object as required." } }, - "dtmi:dtdl:limits:onvif;1": { - "description": { - "en-us": "Some limits." - } - }, "dtmi:iotcentral:context;2": { "description": { "en-us": "A set of semantic types and schema types used by IoT Central." @@ -14641,8 +14627,7 @@ }, "4": { "maxLength": { - "": 2048, - "onvif_1": 512 + "": 2048 }, "pattern": "^dtmi:[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?(?::[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?)*(?:;[1-9][0-9]{0,8}(?:\\.[1-9][0-9]{0,5})?)?$" }, @@ -14659,8 +14644,7 @@ }, "4": { "maxLength": { - "": 128, - "onvif_1": 256 + "": 128 } } } @@ -14680,19 +14664,13 @@ }, "4": { "maxLength": { - "": 2048, - "onvif_1": 512 + "": 2048 }, "pattern": "^dtmi:[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?(?::[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?)*(?:;[1-9][0-9]{0,8}(?:\\.[1-9][0-9]{0,5})?)?$" } }, "layeringSupported": false, - "limitContexts": { - "dtmi:dtdl:limits:onvif;1": { - "dtdlVersion": 4, - "spec": "onvif_1" - } - }, + "limitContexts": {}, "materialClasses": { "Array": { "abstract": false, @@ -14847,8 +14825,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -14899,8 +14876,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -14951,8 +14927,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15253,8 +15228,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15305,8 +15279,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15357,8 +15330,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15512,8 +15484,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15540,8 +15511,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15568,8 +15538,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15701,8 +15670,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15729,8 +15697,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15757,8 +15724,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -15985,8 +15951,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16037,8 +16002,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16089,8 +16053,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16443,8 +16406,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16495,8 +16457,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16547,8 +16508,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16839,8 +16799,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16879,8 +16838,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -16919,8 +16877,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -17173,8 +17130,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -17213,8 +17169,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -17253,8 +17208,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -17581,8 +17535,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -17633,8 +17586,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -17685,8 +17637,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18207,8 +18158,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18259,8 +18209,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18311,8 +18260,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18473,8 +18421,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18525,8 +18472,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18577,8 +18523,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18893,8 +18838,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18945,8 +18889,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -18997,8 +18940,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19326,8 +19268,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19378,8 +19319,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19430,8 +19370,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19691,8 +19630,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19743,8 +19681,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19795,8 +19732,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19952,8 +19888,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -19980,8 +19915,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20008,8 +19942,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20103,7 +20036,7 @@ "2": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;2", "name": "double" @@ -20112,7 +20045,7 @@ "3": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;3", "name": "double" @@ -20121,7 +20054,7 @@ "4": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;4", "name": "double" @@ -20242,8 +20175,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20294,8 +20226,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20346,8 +20277,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20607,8 +20537,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20659,8 +20588,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20711,8 +20639,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -20990,7 +20917,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;2", "name": "double" @@ -21004,7 +20931,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;2", "name": "float" @@ -21208,7 +21135,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;3", "name": "double" @@ -21222,7 +21149,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;3", "name": "float" @@ -21405,7 +21332,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;4", "name": "double" @@ -21419,7 +21346,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;4", "name": "float" @@ -21683,8 +21610,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -21735,8 +21661,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -21787,8 +21712,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -21992,8 +21916,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22044,8 +21967,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22096,8 +22018,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22436,8 +22357,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22488,8 +22408,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22540,8 +22459,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22876,8 +22794,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22928,8 +22845,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -22980,8 +22896,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -23232,7 +23147,7 @@ "2": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;2", "name": "float" @@ -23241,7 +23156,7 @@ "3": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;3", "name": "float" @@ -23250,7 +23165,7 @@ "4": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;4", "name": "float" @@ -23371,8 +23286,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -23423,8 +23337,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -23475,8 +23388,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -23733,8 +23645,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -23785,8 +23696,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -23837,8 +23747,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24012,8 +23921,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24147,8 +24055,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24199,8 +24106,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24444,8 +24350,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24484,8 +24389,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24524,8 +24428,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24759,8 +24662,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24811,8 +24713,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -24863,8 +24764,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25087,8 +24987,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25139,8 +25038,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25191,8 +25089,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25468,8 +25365,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25520,8 +25416,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25572,8 +25467,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25912,8 +25806,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -25964,8 +25857,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26016,8 +25908,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26346,8 +26237,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26398,8 +26288,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26450,8 +26339,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26654,8 +26542,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26694,8 +26581,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26734,8 +26620,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -26912,14 +26797,14 @@ "2": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;2", "name": "double" }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;2", "name": "float" @@ -26942,14 +26827,14 @@ "3": [ { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;3", "name": "double" }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;3", "name": "float" @@ -26986,14 +26871,14 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;4", "name": "double" }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;4", "name": "float" @@ -27137,8 +27022,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -27189,8 +27073,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -27241,8 +27124,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -27791,8 +27673,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -27843,8 +27724,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -27895,8 +27775,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -28158,7 +28037,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;2", "name": "double" @@ -28172,7 +28051,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;2", "name": "float" @@ -28230,7 +28109,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;3", "name": "double" @@ -28244,7 +28123,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;3", "name": "float" @@ -28323,7 +28202,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;4", "name": "double" @@ -28337,7 +28216,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;4", "name": "float" @@ -28475,8 +28354,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -28527,8 +28405,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -28579,8 +28456,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -28741,8 +28617,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -28793,8 +28668,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -28845,8 +28719,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -29203,8 +29076,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -29255,8 +29127,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -29307,8 +29178,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -29863,7 +29733,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;2", "name": "double" @@ -29877,7 +29747,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;2", "name": "float" @@ -30067,7 +29937,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;3", "name": "double" @@ -30081,7 +29951,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;3", "name": "float" @@ -30250,7 +30120,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-us": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" }, "id": "dtmi:dtdl:instance:Schema:double;4", "name": "double" @@ -30264,7 +30134,7 @@ }, { "description": { - "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-us": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" }, "id": "dtmi:dtdl:instance:Schema:float;4", "name": "float" @@ -30515,8 +30385,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -30567,8 +30436,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -30619,8 +30487,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -30788,8 +30655,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -30840,8 +30706,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -30892,8 +30757,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31161,8 +31025,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31189,8 +31052,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31217,8 +31079,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31420,8 +31281,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31472,8 +31332,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31524,8 +31383,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31698,8 +31556,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31750,8 +31607,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -31802,8 +31658,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32244,8 +32099,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32296,8 +32150,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32348,8 +32201,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32597,8 +32449,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32649,8 +32500,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32701,8 +32551,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32876,8 +32725,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32928,8 +32776,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -32980,8 +32827,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33183,8 +33029,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33235,8 +33080,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33287,8 +33131,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33497,8 +33340,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33525,8 +33367,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33553,8 +33394,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33686,8 +33526,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33714,8 +33553,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33742,8 +33580,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33875,8 +33712,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33903,8 +33739,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -33931,8 +33766,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34064,8 +33898,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34092,8 +33925,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34120,8 +33952,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34252,8 +34083,7 @@ "idRequired": false, "maxCount": 1, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34280,8 +34110,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34308,8 +34137,7 @@ "hidden": false, "idRequired": false, "maxLength": { - "": 512, - "onvif_1": 512 + "": 512 }, "typeRequired": true, "uniqueAmong": [] @@ -34367,8 +34195,7 @@ }, "4": { "maxBytes": { - "": 1048576, - "onvif_1": 1048576 + "": 1048576 } } }, diff --git a/test-cases/doc-examples/UnspecifiedDocExample-en-US-10-V4.json b/test-cases/doc-examples/UnspecifiedDocExample-en-US-10-V4.json index aa4200b0..0b84deda 100644 --- a/test-cases/doc-examples/UnspecifiedDocExample-en-US-10-V4.json +++ b/test-cases/doc-examples/UnspecifiedDocExample-en-US-10-V4.json @@ -1,14 +1,11 @@ { - "valid": true, + "valid": false, "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], "input": [ { "@context": [ "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" + "dtmi:dtdl:limits:hypothetical;1" ], "@id": "dtmi:com:example:Sampler;1", "@type": "Interface", @@ -25,5 +22,13 @@ } ] } - ] + ], + "expect": { + "parsingErrors": [ + { + "ValidationID": "dtmi:dtdl:parsingError:missingLimitContext", + "PrimaryID": null + } + ] + } } diff --git a/test-cases/generated/ArrayMaxDeepOnvifLimitsV4.json b/test-cases/generated/ArrayMaxDeepOnvifLimitsV4.json deleted file mode 100644 index c84cb988..00000000 --- a/test-cases/generated/ArrayMaxDeepOnvifLimitsV4.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "schemas": [ - { - "@id": "dtmi:test:deepArray1;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray2;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray3;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray4;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray5;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray6;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray7;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray8;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray9;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray10;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray11;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray12;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray13;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray14;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray15;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray16;1", - "@type": "Array", - "elementSchema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ] - } - ], - "expect": { - "elementsCount": 17 - } -} diff --git a/test-cases/generated/ArrayTooDeepOnvifLimitsV4.json b/test-cases/generated/ArrayTooDeepOnvifLimitsV4.json deleted file mode 100644 index 4a55fcde..00000000 --- a/test-cases/generated/ArrayTooDeepOnvifLimitsV4.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "schemas": [ - { - "@id": "dtmi:test:deepArray1;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray2;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray3;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray4;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray5;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray6;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray7;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray8;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray9;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray10;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray11;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray12;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray13;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray14;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray15;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray16;1", - "@type": "Array", - "elementSchema": { - "@id": "dtmi:test:deepArray17;1", - "@type": "Array", - "elementSchema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:excessiveDepthWide", - "PrimaryID": "dtmi:test:deepArray1;1", - "SecondaryID": "dtmi:test:deepArray17;1", - "Property": null, - "Value": null, - "PrimaryIndex": 0, - "PrimaryStart": 9, - "PrimaryEnd": 77, - "SecondaryIndex": 0, - "SecondaryStart": 57, - "SecondaryEnd": 61 - } - ] - } -} diff --git a/test-cases/generated/InterfaceExtendsMaxLongChainOnvifLimitsV4.json b/test-cases/generated/InterfaceExtendsMaxLongChainOnvifLimitsV4.json deleted file mode 100644 index fb39d538..00000000 --- a/test-cases/generated/InterfaceExtendsMaxLongChainOnvifLimitsV4.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:interface1;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop1", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface2;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop2", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface3;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop3", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface4;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop4", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface5;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop5", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface6;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop6", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface7;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop7", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface8;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop8", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface9;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop9", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface10;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop10", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface11;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop11", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface12;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop12", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface0;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop0", - "schema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ], - "expect": { - "elements": [ - { - "id": "dtmi:test:interface1;1", - "type": "Interface", - "properties": { - "extends": [ - "dtmi:test:interface2;1" - ], - "contents": { - "prop0": "dtmi:test:interface0:_contents:__prop0;1", - "prop1": "dtmi:test:interface1:_contents:__prop1;1", - "prop2": "dtmi:test:interface2:_contents:__prop2;1", - "prop3": "dtmi:test:interface3:_contents:__prop3;1", - "prop4": "dtmi:test:interface4:_contents:__prop4;1", - "prop5": "dtmi:test:interface5:_contents:__prop5;1", - "prop6": "dtmi:test:interface6:_contents:__prop6;1", - "prop7": "dtmi:test:interface7:_contents:__prop7;1", - "prop8": "dtmi:test:interface8:_contents:__prop8;1", - "prop9": "dtmi:test:interface9:_contents:__prop9;1", - "prop10": "dtmi:test:interface10:_contents:__prop10;1", - "prop11": "dtmi:test:interface11:_contents:__prop11;1", - "prop12": "dtmi:test:interface12:_contents:__prop12;1" - } - } - } - ] - } -} diff --git a/test-cases/generated/InterfaceExtendsTooLongChainOnvifLimitsV4.json b/test-cases/generated/InterfaceExtendsTooLongChainOnvifLimitsV4.json deleted file mode 100644 index a4e00c6a..00000000 --- a/test-cases/generated/InterfaceExtendsTooLongChainOnvifLimitsV4.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:interface1;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop1", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface2;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop2", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface3;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop3", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface4;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop4", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface5;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop5", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface6;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop6", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface7;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop7", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface8;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop8", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface9;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop9", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface10;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop10", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface11;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop11", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface12;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop12", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface13;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop13", - "schema": "double" - }, - "extends": { - "@id": "dtmi:test:interface0;1", - "@type": "Interface", - "contents": { - "@type": "Property", - "name": "prop0", - "schema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:excessiveDepthNarrow", - "PrimaryID": "dtmi:test:interface1;1", - "SecondaryID": "dtmi:test:interface0;1", - "Property": "'extends'", - "Value": null, - "PrimaryIndex": 0, - "PrimaryStart": 1, - "PrimaryEnd": 130, - "SecondaryIndex": 0, - "SecondaryStart": 109, - "SecondaryEnd": 117 - } - ] - } -} diff --git a/test-cases/generated/MapMaxDeepOnvifLimitsV4.json b/test-cases/generated/MapMaxDeepOnvifLimitsV4.json deleted file mode 100644 index 1f93b576..00000000 --- a/test-cases/generated/MapMaxDeepOnvifLimitsV4.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "schemas": [ - { - "@id": "dtmi:test:deepMap1;1", - "@type": "Map", - "mapKey": { - "name": "MapKey1", - "schema": "string" - }, - "mapValue": { - "name": "MapValue1", - "schema": { - "@id": "dtmi:test:deepMap2;1", - "@type": "Map", - "mapKey": { - "name": "MapKey2", - "schema": "string" - }, - "mapValue": { - "name": "MapValue2", - "schema": { - "@id": "dtmi:test:deepMap3;1", - "@type": "Map", - "mapKey": { - "name": "MapKey3", - "schema": "string" - }, - "mapValue": { - "name": "MapValue3", - "schema": { - "@id": "dtmi:test:deepMap4;1", - "@type": "Map", - "mapKey": { - "name": "MapKey4", - "schema": "string" - }, - "mapValue": { - "name": "MapValue4", - "schema": { - "@id": "dtmi:test:deepMap5;1", - "@type": "Map", - "mapKey": { - "name": "MapKey5", - "schema": "string" - }, - "mapValue": { - "name": "MapValue5", - "schema": { - "@id": "dtmi:test:deepMap6;1", - "@type": "Map", - "mapKey": { - "name": "MapKey6", - "schema": "string" - }, - "mapValue": { - "name": "MapValue6", - "schema": { - "@id": "dtmi:test:deepMap7;1", - "@type": "Map", - "mapKey": { - "name": "MapKey7", - "schema": "string" - }, - "mapValue": { - "name": "MapValue7", - "schema": { - "@id": "dtmi:test:deepMap8;1", - "@type": "Map", - "mapKey": { - "name": "MapKey8", - "schema": "string" - }, - "mapValue": { - "name": "MapValue8", - "schema": { - "@id": "dtmi:test:deepMap9;1", - "@type": "Map", - "mapKey": { - "name": "MapKey9", - "schema": "string" - }, - "mapValue": { - "name": "MapValue9", - "schema": { - "@id": "dtmi:test:deepMap10;1", - "@type": "Map", - "mapKey": { - "name": "MapKey10", - "schema": "string" - }, - "mapValue": { - "name": "MapValue10", - "schema": { - "@id": "dtmi:test:deepMap11;1", - "@type": "Map", - "mapKey": { - "name": "MapKey11", - "schema": "string" - }, - "mapValue": { - "name": "MapValue11", - "schema": { - "@id": "dtmi:test:deepMap12;1", - "@type": "Map", - "mapKey": { - "name": "MapKey12", - "schema": "string" - }, - "mapValue": { - "name": "MapValue12", - "schema": { - "@id": "dtmi:test:deepMap13;1", - "@type": "Map", - "mapKey": { - "name": "MapKey13", - "schema": "string" - }, - "mapValue": { - "name": "MapValue13", - "schema": { - "@id": "dtmi:test:deepMap14;1", - "@type": "Map", - "mapKey": { - "name": "MapKey14", - "schema": "string" - }, - "mapValue": { - "name": "MapValue14", - "schema": { - "@id": "dtmi:test:deepMap15;1", - "@type": "Map", - "mapKey": { - "name": "MapKey15", - "schema": "string" - }, - "mapValue": { - "name": "MapValue15", - "schema": { - "@id": "dtmi:test:deepMap16;1", - "@type": "Map", - "mapKey": { - "name": "MapKey16", - "schema": "string" - }, - "mapValue": { - "name": "MapValue16", - "schema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ] - } - ], - "expect": { - "elementsCount": 18 - } -} diff --git a/test-cases/generated/MapTooDeepOnvifLimitsV4.json b/test-cases/generated/MapTooDeepOnvifLimitsV4.json deleted file mode 100644 index ee984f57..00000000 --- a/test-cases/generated/MapTooDeepOnvifLimitsV4.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "schemas": [ - { - "@id": "dtmi:test:deepMap1;1", - "@type": "Map", - "mapKey": { - "name": "MapKey1", - "schema": "string" - }, - "mapValue": { - "name": "MapValue1", - "schema": { - "@id": "dtmi:test:deepMap2;1", - "@type": "Map", - "mapKey": { - "name": "MapKey2", - "schema": "string" - }, - "mapValue": { - "name": "MapValue2", - "schema": { - "@id": "dtmi:test:deepMap3;1", - "@type": "Map", - "mapKey": { - "name": "MapKey3", - "schema": "string" - }, - "mapValue": { - "name": "MapValue3", - "schema": { - "@id": "dtmi:test:deepMap4;1", - "@type": "Map", - "mapKey": { - "name": "MapKey4", - "schema": "string" - }, - "mapValue": { - "name": "MapValue4", - "schema": { - "@id": "dtmi:test:deepMap5;1", - "@type": "Map", - "mapKey": { - "name": "MapKey5", - "schema": "string" - }, - "mapValue": { - "name": "MapValue5", - "schema": { - "@id": "dtmi:test:deepMap6;1", - "@type": "Map", - "mapKey": { - "name": "MapKey6", - "schema": "string" - }, - "mapValue": { - "name": "MapValue6", - "schema": { - "@id": "dtmi:test:deepMap7;1", - "@type": "Map", - "mapKey": { - "name": "MapKey7", - "schema": "string" - }, - "mapValue": { - "name": "MapValue7", - "schema": { - "@id": "dtmi:test:deepMap8;1", - "@type": "Map", - "mapKey": { - "name": "MapKey8", - "schema": "string" - }, - "mapValue": { - "name": "MapValue8", - "schema": { - "@id": "dtmi:test:deepMap9;1", - "@type": "Map", - "mapKey": { - "name": "MapKey9", - "schema": "string" - }, - "mapValue": { - "name": "MapValue9", - "schema": { - "@id": "dtmi:test:deepMap10;1", - "@type": "Map", - "mapKey": { - "name": "MapKey10", - "schema": "string" - }, - "mapValue": { - "name": "MapValue10", - "schema": { - "@id": "dtmi:test:deepMap11;1", - "@type": "Map", - "mapKey": { - "name": "MapKey11", - "schema": "string" - }, - "mapValue": { - "name": "MapValue11", - "schema": { - "@id": "dtmi:test:deepMap12;1", - "@type": "Map", - "mapKey": { - "name": "MapKey12", - "schema": "string" - }, - "mapValue": { - "name": "MapValue12", - "schema": { - "@id": "dtmi:test:deepMap13;1", - "@type": "Map", - "mapKey": { - "name": "MapKey13", - "schema": "string" - }, - "mapValue": { - "name": "MapValue13", - "schema": { - "@id": "dtmi:test:deepMap14;1", - "@type": "Map", - "mapKey": { - "name": "MapKey14", - "schema": "string" - }, - "mapValue": { - "name": "MapValue14", - "schema": { - "@id": "dtmi:test:deepMap15;1", - "@type": "Map", - "mapKey": { - "name": "MapKey15", - "schema": "string" - }, - "mapValue": { - "name": "MapValue15", - "schema": { - "@id": "dtmi:test:deepMap16;1", - "@type": "Map", - "mapKey": { - "name": "MapKey16", - "schema": "string" - }, - "mapValue": { - "name": "MapValue16", - "schema": { - "@id": "dtmi:test:deepMap17;1", - "@type": "Map", - "mapKey": { - "name": "MapKey17", - "schema": "string" - }, - "mapValue": { - "name": "MapValue17", - "schema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:excessiveDepthWide", - "PrimaryID": "dtmi:test:deepMap1;1", - "SecondaryID": "dtmi:test:deepMap17:_mapKey;1", - "Property": null, - "Value": null, - "PrimaryIndex": 0, - "PrimaryStart": 9, - "PrimaryEnd": 196, - "SecondaryIndex": 0, - "SecondaryStart": 156, - "SecondaryEnd": 159 - } - ] - } -} diff --git a/test-cases/generated/ObjectMaxDeepOnvifLimitsV4.json b/test-cases/generated/ObjectMaxDeepOnvifLimitsV4.json deleted file mode 100644 index 810d50f9..00000000 --- a/test-cases/generated/ObjectMaxDeepOnvifLimitsV4.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "schemas": [ - { - "@id": "dtmi:test:deepObject1;1", - "@type": "Object", - "fields": [ - { - "name": "Field1", - "schema": { - "@id": "dtmi:test:deepObject2;1", - "@type": "Object", - "fields": { - "name": "Field2", - "schema": { - "@id": "dtmi:test:deepObject3;1", - "@type": "Object", - "fields": { - "name": "Field3", - "schema": { - "@id": "dtmi:test:deepObject4;1", - "@type": "Object", - "fields": { - "name": "Field4", - "schema": { - "@id": "dtmi:test:deepObject5;1", - "@type": "Object", - "fields": { - "name": "Field5", - "schema": { - "@id": "dtmi:test:deepObject6;1", - "@type": "Object", - "fields": { - "name": "Field6", - "schema": { - "@id": "dtmi:test:deepObject7;1", - "@type": "Object", - "fields": { - "name": "Field7", - "schema": { - "@id": "dtmi:test:deepObject8;1", - "@type": "Object", - "fields": { - "name": "Field8", - "schema": { - "@id": "dtmi:test:deepObject9;1", - "@type": "Object", - "fields": { - "name": "Field9", - "schema": { - "@id": "dtmi:test:deepObject10;1", - "@type": "Object", - "fields": { - "name": "Field10", - "schema": { - "@id": "dtmi:test:deepObject11;1", - "@type": "Object", - "fields": { - "name": "Field11", - "schema": { - "@id": "dtmi:test:deepObject12;1", - "@type": "Object", - "fields": { - "name": "Field12", - "schema": { - "@id": "dtmi:test:deepObject13;1", - "@type": "Object", - "fields": { - "name": "Field13", - "schema": { - "@id": "dtmi:test:deepObject14;1", - "@type": "Object", - "fields": { - "name": "Field14", - "schema": { - "@id": "dtmi:test:deepObject15;1", - "@type": "Object", - "fields": { - "name": "Field15", - "schema": { - "@id": "dtmi:test:deepObject16;1", - "@type": "Object", - "fields": { - "name": "Field16", - "schema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ] - } - ] - } - ], - "expect": { - "elementsCount": 18 - } -} diff --git a/test-cases/generated/ObjectTooDeepOnvifLimitsV4.json b/test-cases/generated/ObjectTooDeepOnvifLimitsV4.json deleted file mode 100644 index 5daa707b..00000000 --- a/test-cases/generated/ObjectTooDeepOnvifLimitsV4.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "schemas": [ - { - "@id": "dtmi:test:deepObject1;1", - "@type": "Object", - "fields": [ - { - "name": "Field1", - "schema": { - "@id": "dtmi:test:deepObject2;1", - "@type": "Object", - "fields": { - "name": "Field2", - "schema": { - "@id": "dtmi:test:deepObject3;1", - "@type": "Object", - "fields": { - "name": "Field3", - "schema": { - "@id": "dtmi:test:deepObject4;1", - "@type": "Object", - "fields": { - "name": "Field4", - "schema": { - "@id": "dtmi:test:deepObject5;1", - "@type": "Object", - "fields": { - "name": "Field5", - "schema": { - "@id": "dtmi:test:deepObject6;1", - "@type": "Object", - "fields": { - "name": "Field6", - "schema": { - "@id": "dtmi:test:deepObject7;1", - "@type": "Object", - "fields": { - "name": "Field7", - "schema": { - "@id": "dtmi:test:deepObject8;1", - "@type": "Object", - "fields": { - "name": "Field8", - "schema": { - "@id": "dtmi:test:deepObject9;1", - "@type": "Object", - "fields": { - "name": "Field9", - "schema": { - "@id": "dtmi:test:deepObject10;1", - "@type": "Object", - "fields": { - "name": "Field10", - "schema": { - "@id": "dtmi:test:deepObject11;1", - "@type": "Object", - "fields": { - "name": "Field11", - "schema": { - "@id": "dtmi:test:deepObject12;1", - "@type": "Object", - "fields": { - "name": "Field12", - "schema": { - "@id": "dtmi:test:deepObject13;1", - "@type": "Object", - "fields": { - "name": "Field13", - "schema": { - "@id": "dtmi:test:deepObject14;1", - "@type": "Object", - "fields": { - "name": "Field14", - "schema": { - "@id": "dtmi:test:deepObject15;1", - "@type": "Object", - "fields": { - "name": "Field15", - "schema": { - "@id": "dtmi:test:deepObject16;1", - "@type": "Object", - "fields": { - "name": "Field16", - "schema": { - "@id": "dtmi:test:deepObject17;1", - "@type": "Object", - "fields": { - "name": "Field17", - "schema": "double" - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - ] - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:excessiveDepthWide", - "PrimaryID": "dtmi:test:deepObject1;1", - "SecondaryID": "dtmi:test:deepObject17:_fields:__Field17;1", - "Property": null, - "Value": null, - "PrimaryIndex": 0, - "PrimaryStart": 9, - "PrimaryEnd": 130, - "SecondaryIndex": 0, - "SecondaryStart": 93, - "SecondaryEnd": 96 - } - ] - } -} diff --git a/test-cases/generated/ObjectWithAllPrimitiveSchemasV2.json b/test-cases/generated/ObjectWithAllPrimitiveSchemasV2.json index f585d068..40624e96 100644 --- a/test-cases/generated/ObjectWithAllPrimitiveSchemasV2.json +++ b/test-cases/generated/ObjectWithAllPrimitiveSchemasV2.json @@ -84,7 +84,7 @@ "en": "double" }, "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" } } }, @@ -98,7 +98,7 @@ "en": "float" }, "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" } } }, diff --git a/test-cases/generated/ObjectWithAllPrimitiveSchemasV3.json b/test-cases/generated/ObjectWithAllPrimitiveSchemasV3.json index 0ba8734e..3446fa80 100644 --- a/test-cases/generated/ObjectWithAllPrimitiveSchemasV3.json +++ b/test-cases/generated/ObjectWithAllPrimitiveSchemasV3.json @@ -84,7 +84,7 @@ "en": "double" }, "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" } } }, @@ -98,7 +98,7 @@ "en": "float" }, "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" } } }, diff --git a/test-cases/generated/ObjectWithAllPrimitiveSchemasV4.json b/test-cases/generated/ObjectWithAllPrimitiveSchemasV4.json index 7290f2cc..9db1c75c 100644 --- a/test-cases/generated/ObjectWithAllPrimitiveSchemasV4.json +++ b/test-cases/generated/ObjectWithAllPrimitiveSchemasV4.json @@ -84,7 +84,7 @@ "en": "double" }, "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with xsd:double" + "en-US": "a finite numeric value that is expressible in IEEE 754 double-precision floating point format, conformant with the numeric range of xsd:double" } } }, @@ -98,7 +98,7 @@ "en": "float" }, "description": { - "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with xsd:float" + "en-US": "a finite numeric value that is expressible in IEEE 754 single-precision floating point format, conformant with the numeric range of xsd:float" } } }, diff --git a/test-cases/generated/TelemetryDisplayNameArrayElementValueTooLongOnvifLimitsV4.json b/test-cases/generated/TelemetryDisplayNameArrayElementValueTooLongOnvifLimitsV4.json deleted file mode 100644 index a4e9dbfa..00000000 --- a/test-cases/generated/TelemetryDisplayNameArrayElementValueTooLongOnvifLimitsV4.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "Foo", - "displayName": [ - { - "@language": "en-US", - "@value": "valid" - }, - { - "@language": "mp", - "@value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - ], - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:langStringValueTooLong", - "PrimaryID": "dtmi:test:aTelemetry;1", - "SecondaryID": null, - "Property": "displayName", - "Value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "PrimaryIndex": 0, - "PrimaryStart": 20 - } - ] - } -} diff --git a/test-cases/generated/TelemetryDisplayNameLanguageMapValueTooLongOnvifLimitsV4.json b/test-cases/generated/TelemetryDisplayNameLanguageMapValueTooLongOnvifLimitsV4.json deleted file mode 100644 index 7373efd9..00000000 --- a/test-cases/generated/TelemetryDisplayNameLanguageMapValueTooLongOnvifLimitsV4.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "Foo", - "displayName": { - "en-US": "valid", - "mp": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:langStringValueTooLong", - "PrimaryID": "dtmi:test:aTelemetry;1", - "SecondaryID": null, - "Property": "displayName", - "Value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "PrimaryIndex": 0, - "PrimaryStart": 15 - } - ] - } -} diff --git a/test-cases/generated/TelemetryDisplayNameStringTooLongOnvifLimitsV4.json b/test-cases/generated/TelemetryDisplayNameStringTooLongOnvifLimitsV4.json deleted file mode 100644 index 2feada16..00000000 --- a/test-cases/generated/TelemetryDisplayNameStringTooLongOnvifLimitsV4.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "Foo", - "displayName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:langStringValueTooLong", - "PrimaryID": "dtmi:test:aTelemetry;1", - "SecondaryID": null, - "Property": "displayName", - "Value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "PrimaryIndex": 0, - "PrimaryStart": 13 - } - ] - } -} diff --git a/test-cases/generated/TelemetryNameMaxLongOnvifLimitsV4.json b/test-cases/generated/TelemetryNameMaxLongOnvifLimitsV4.json deleted file mode 100644 index b8f9503c..00000000 --- a/test-cases/generated/TelemetryNameMaxLongOnvifLimitsV4.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "schema": "double" - } - ] - } - ], - "expect": { - "elements": [ - { - "id": "dtmi:test:aTelemetry;1", - "type": "Telemetry", - "properties": { - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "schema": "dtmi:dtdl:instance:Schema:double;2" - } - } - ] - } -} diff --git a/test-cases/generated/TelemetryNameTooLongOnvifLimitsV4.json b/test-cases/generated/TelemetryNameTooLongOnvifLimitsV4.json deleted file mode 100644 index 6d7ad6ea..00000000 --- a/test-cases/generated/TelemetryNameTooLongOnvifLimitsV4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:stringTooLong", - "PrimaryID": "dtmi:test:aTelemetry;1", - "SecondaryID": null, - "Property": "name", - "Value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "PrimaryIndex": 0, - "PrimaryStart": 12 - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithFeatureContextAfterLimitlessV4.json b/test-cases/generated/TelemetryWithFeatureContextAfterLimitlessV4.json deleted file mode 100644 index cd9d30c9..00000000 --- a/test-cases/generated/TelemetryWithFeatureContextAfterLimitlessV4.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:extension:quantitativeTypes;2", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": [ - "Telemetry", - "Velocity" - ], - "name": "currentSpeed", - "schema": "double", - "unit": "kilometrePerSecond" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:missingLimitContext", - "PrimaryID": null, - "SecondaryID": null, - "Property": null, - "Value": "dtmi:dtdl:context;4#limitless", - "PrimaryIndex": 0, - "PrimaryStart": 3 - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithInvalidLimitContextFragmentV4.json b/test-cases/generated/TelemetryWithInvalidLimitContextFragmentV4.json deleted file mode 100644 index dbd5bd96..00000000 --- a/test-cases/generated/TelemetryWithInvalidLimitContextFragmentV4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1#limits" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "example", - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:invalidContextSpecifier", - "PrimaryID": null, - "SecondaryID": null, - "Property": null, - "Value": "dtmi:dtdl:limits:onvif;1#limits", - "PrimaryIndex": 0, - "PrimaryStart": 4 - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithLeadingOnvifLimitContextV4.json b/test-cases/generated/TelemetryWithLeadingOnvifLimitContextV4.json deleted file mode 100644 index e9a8ac72..00000000 --- a/test-cases/generated/TelemetryWithLeadingOnvifLimitContextV4.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": [ - "Telemetry", - "Velocity" - ], - "name": "currentSpeed", - "schema": "double", - "unit": "kilometrePerSecond" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:missingDtdlContext", - "PrimaryID": null, - "SecondaryID": null, - "Property": null, - "Value": null, - "PrimaryIndex": 0, - "PrimaryStart": 3 - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithNonFollowingOnvifLimitContextV4.json b/test-cases/generated/TelemetryWithNonFollowingOnvifLimitContextV4.json deleted file mode 100644 index 9126fdc5..00000000 --- a/test-cases/generated/TelemetryWithNonFollowingOnvifLimitContextV4.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4", - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": [ - "Telemetry", - "Velocity" - ], - "name": "currentSpeed", - "schema": "double", - "unit": "kilometrePerSecond" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:misplacedLimitContext", - "PrimaryID": null, - "SecondaryID": null, - "Property": null, - "Value": "dtmi:dtdl:limits:onvif;1", - "PrimaryIndex": 0, - "PrimaryStart": 4 - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithOnvifAndExtensionContextsV4.json b/test-cases/generated/TelemetryWithOnvifAndExtensionContextsV4.json deleted file mode 100644 index 524a1006..00000000 --- a/test-cases/generated/TelemetryWithOnvifAndExtensionContextsV4.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1", - "dtmi:dtdl:extension:quantitativeTypes;2" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": [ - "Telemetry", - "Velocity" - ], - "name": "currentSpeed", - "schema": "double", - "unit": "kilometrePerSecond" - } - ] - } - ], - "expect": { - "elementCount": 9, - "elements": [ - { - "id": "dtmi:test:aTelemetry;1", - "type": "Telemetry", - "properties": { - "name": "currentSpeed", - "schema": "dtmi:dtdl:instance:Schema:double;2" - }, - "supplementalTypes": [ - "dtmi:dtdl:extension:quantitativeTypes:v2:class:Velocity" - ], - "supplementalProperties": { - "dtmi:dtdl:extension:quantitativeTypes:v2:property:unit": "dtmi:dtdl:extension:quantitativeTypes:v2:unit:kilometrePerSecond" - } - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithOnvifLimitsAcceptableVersionV4.json b/test-cases/generated/TelemetryWithOnvifLimitsAcceptableVersionV4.json deleted file mode 100644 index ff65164c..00000000 --- a/test-cases/generated/TelemetryWithOnvifLimitsAcceptableVersionV4.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": true, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif;1" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "example", - "schema": "double" - } - ] - } - ], - "expect": { - "elements": [ - { - "id": "dtmi:test:aTelemetry;1", - "type": "Telemetry", - "properties": { - "name": "example", - "schema": "dtmi:dtdl:instance:Schema:double;2" - } - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithOnvifLimitsUnacceptableV4.json b/test-cases/generated/TelemetryWithOnvifLimitsUnacceptableV4.json deleted file mode 100644 index 2f23b6c1..00000000 --- a/test-cases/generated/TelemetryWithOnvifLimitsUnacceptableV4.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "example", - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:disallowedLimitContext", - "PrimaryID": null, - "SecondaryID": null, - "Property": null, - "Value": "dtmi:dtdl:limits:onvif;1", - "PrimaryIndex": 0, - "PrimaryStart": 4 - } - ] - } -} diff --git a/test-cases/generated/TelemetryWithOnvifLimitsUnacceptableVersionV4.json b/test-cases/generated/TelemetryWithOnvifLimitsUnacceptableVersionV4.json deleted file mode 100644 index b7a95af4..00000000 --- a/test-cases/generated/TelemetryWithOnvifLimitsUnacceptableVersionV4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "requiredContexts": [ - "dtmi:dtdl:limits:onvif;1" - ], - "valid": false, - "quirks": [], - "options": [], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif;2" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:test:anInterface;1", - "@type": "Interface", - "contents": [ - { - "@id": "dtmi:test:aTelemetry;1", - "@type": "Telemetry", - "name": "example", - "schema": "double" - } - ] - } - ], - "expect": { - "parsingErrors": [ - { - "ValidationID": "dtmi:dtdl:parsingError:disallowedLimitContext", - "PrimaryID": null, - "SecondaryID": null, - "Property": null, - "Value": "dtmi:dtdl:limits:onvif;1", - "PrimaryIndex": 0, - "PrimaryStart": 4 - } - ] - } -} diff --git a/test-cases/specification/Requirement-ExtensionLimitsFollowsLimitlessV4.json b/test-cases/specification/Requirement-ExtensionLimitsFollowsLimitlessV4.json index 1edb53c6..b76e44e1 100644 --- a/test-cases/specification/Requirement-ExtensionLimitsFollowsLimitlessV4.json +++ b/test-cases/specification/Requirement-ExtensionLimitsFollowsLimitlessV4.json @@ -1,167 +1 @@ -[ - { - "valid": true, - "options": [ - "DisallowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "DisallowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "AllowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "DisallowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:extension:quantitativeTypes;1", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "AllowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:extension:quantitativeTypes;1", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "DisallowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "AllowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "DisallowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": "dtmi:dtdl:limits:onvif;1", - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, - { - "valid": false, - "options": [ - "AllowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": "dtmi:dtdl:limits:onvif;1", - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - } -] +[] diff --git a/test-cases/specification/Requirement-LimitlessContextFollowedByLimitsV4.json b/test-cases/specification/Requirement-LimitlessContextFollowedByLimitsV4.json index c340f856..f249fdd9 100644 --- a/test-cases/specification/Requirement-LimitlessContextFollowedByLimitsV4.json +++ b/test-cases/specification/Requirement-LimitlessContextFollowedByLimitsV4.json @@ -31,25 +31,6 @@ } ] }, - { - "valid": true, - "options": [ - "DisallowUndefinedExtensions" - ], - "acceptableLimits": [ - "dtmi:dtdl:limits:onvif" - ], - "input": [ - { - "@context": [ - "dtmi:dtdl:context;4#limitless", - "dtmi:dtdl:limits:onvif;1" - ], - "@id": "dtmi:ex:id;1", - "@type": "Interface" - } - ] - }, { "valid": false, "options": [