JSON Reference to a linked identifier property in another schema. Two JSON documents, one following the current schema and the other following the foreign schema, are related if the values in the two linked properties are the same.
This is not validated. As far as I can see, the only thing to validate is that for all JSON documents (or sub-documents), if there is a value in a property that has its foreignProperty set, the value should exist in at least one other JSON (sub-)document following the foreign Schema that has the same value.
As far as I see, the validator currently validates only foreign_keys, but I am unsure whether that is the same concept or a different one. It i at least specified in a more complex manner, as a property with with sub-properties schema_id and members
I have this pending, mainly because I hit some limitations of JSON Schema library in order to unmistakably identify the pointed properties when a JSON Schema is including other ones.
foreignProperty
is defined in https://github.com/fairtracks/fairtracks_standard asThis is not validated. As far as I can see, the only thing to validate is that for all JSON documents (or sub-documents), if there is a value in a property that has its
foreignProperty
set, the value should exist in at least one other JSON (sub-)document following the foreign Schema that has the same value.As far as I see, the validator currently validates only
foreign_keys
, but I am unsure whether that is the same concept or a different one. It i at least specified in a more complex manner, as a property with with sub-propertiesschema_id
andmembers