Skip to content

Issue with AttributeListType in SDMX-JSON Structure schema? #166

Open
@sosna

Description

@sosna

The AttributeListType in the SDMX-JSON structure schema contains the following snippet:

"attributes":{
	"type":"array",
	"minItems":1,
	"items":{
		"anyOf":[
			{
				"$ref":"#/definitions/AttributeType",
				"description":"Attribute describes the definition of a data attribute, which is defined as a characteristic of an object or entity."
			},
			{
				"$ref":"#/definitions/ReportingYearStartOrEndDayType",
				"description":"ReportingYearStartDay and ReportingYearEndDay are specialized data attributes which provide important context to the time dimension. If the value of the time dimension is one of the standard reporting periods (see common:ReportingTimePeriodType) then one of these attributes is used to state the month and day that the reporting year begins or ends. This provides a reference point from which the actual calendar dates covered by these periods can be determined. If this attribute does not occur in a data set, then the reporting year start/end day will be assumed to be January 1/December 31."
			}
		]
	}
},

With this, we don't manage to successfully validate the output generated by the FMR.

However, with the following change, validation is successful with the same input:

"attributes":{
	"type":"array",
	"minItems":1,
	"items":{
		"$ref":"#/definitions/AttributeType",
		"description":"Attribute describes the definition of a data attribute, which is defined as a characteristic of an object or entity."
	}
},

Could this be an issue with the definition of ReportingYearStartOrEndDayType?

Thank you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions