UNPKG

@magda/registry-aspects

Version:

Common aspects for use with the registry.

59 lines (58 loc) 2.01 kB
{ "$schema": "http://json-schema.org/schema#", "title": "Source Aspect", "description": "Aspect for capturing the source of a record", "type": "object", "properties": { "id": { "title": "The id of the source.", "type": "string" }, "type": { "title": "The type of the source.", "type": "string" }, "url": { "title": "The source URL.", "type": "string" }, "name": { "title": "The human-friendly name of this source.", "type": "string" }, "originalUrl": { "title": "The original source URL. Used when the crawling source is not the original source.", "type": "string" }, "orignalName": { "title": "The original human-friendly name of this source. Used when the crawling source is not the original source.", "type": "string" }, "extras": { "title": "Extra Metadata", "description": "Any extra metadata a connector may have. \nThis field is auto copied from connector configData.extras.", "type": "object" }, "problems": { "title": "Problems encountered while creating this record from the source.", "type": "array", "items": { "title": "A problem report.", "type": "object", "properties": { "title": { "title": "A short explanation of the problem.", "type": "string" }, "message": { "title": "A message describing the problem.", "type": "string" }, "additionalInfo": { "title": "Additional information about the problem." } } } } } }