{
    "test_file_exists": {
        "test_name": "Checking if the mandatory files according to the contribution manual are present",
        "success": true,
        "message": [
            "The file 'schema.json' exists",
            "The file 'examples/example.json' exists",
            "The file 'examples/example-normalized.json' exists",
            "The file 'examples/example.jsonld' exists",
            "The file 'examples/example-normalized.jsonld' exists",
            "The file 'notes.yaml' exists",
            "The file 'ADOPTERS.yaml' exists"
        ]
    },
    "test_valid_json": {
        "test_name": "Checking that the mandatory json files are valid json files",
        "success": true,
        "message": [
            "file schema.json is a valid json",
            "file examples/example.json is a valid json",
            "file examples/example-normalized.json is a valid json",
            "file examples/example.jsonld is a valid json",
            "file examples/example-normalized.jsonld is a valid json"
        ]
    },
    "test_yaml_files": {
        "test_name": "Checking that ADOPTERS.yaml and notes.yaml are valid YAML files",
        "success": true,
        "message": [
            "The file 'ADOPTERS.yaml' is a valid YAML file.",
            "The file 'notes.yaml' is a valid YAML file."
        ]
    },
    "test_schema_descriptions": {
        "test_name": "Checking that the schema is properly described in all its attributes",
        "success": true,
        "message": [
            "The schema has a root description.",
            "The attribute 'allOf[0].location' is properly documented.",
            "The attribute 'allOf[0].address' is properly documented.",
            "The attribute 'allOf[0].address.streetAddress' is properly documented.",
            "The attribute 'allOf[0].address.addressLocality' is properly documented.",
            "The attribute 'allOf[0].address.addressRegion' is properly documented.",
            "The attribute 'allOf[0].address.addressCountry' is properly documented.",
            "The attribute 'allOf[0].address.postalCode' is properly documented.",
            "The attribute 'allOf[0].address.postOfficeBoxNumber' is properly documented.",
            "The attribute 'allOf[0].address.streetNr' is properly documented.",
            "The attribute 'allOf[0].address.district' is properly documented.",
            "The attribute 'allOf[0].areaServed' is properly documented.",
            "The attribute 'allOf[1].type' is properly documented.",
            "The attribute 'allOf[1].accessURL' is properly documented.",
            "The attribute 'allOf[1].accessURL.items' is properly documented.",
            "The attribute 'allOf[1].availability' is properly documented.",
            "The attribute 'allOf[1].description' is properly documented.",
            "The attribute 'allOf[1].description.items' is properly documented.",
            "The attribute 'allOf[1].format' is properly documented.",
            "The attribute 'allOf[1].license' is properly documented.",
            "The attribute 'allOf[1].accessService' is properly documented.",
            "The attribute 'allOf[1].accessService.items' is properly documented.",
            "The attribute 'allOf[1].byteSize' is properly documented.",
            "The attribute 'allOf[1].checksum' is properly documented.",
            "The attribute 'allOf[1].compressionFormat' is properly documented.",
            "The attribute 'allOf[1].packagingFormat' is properly documented.",
            "The attribute 'allOf[1].belongsToDataset' is properly documented.",
            "The attribute 'allOf[1].page' is properly documented.",
            "The attribute 'allOf[1].page.items' is properly documented.",
            "The attribute 'allOf[1].downloadURL' is properly documented.",
            "The attribute 'allOf[1].downloadURL.items' is properly documented.",
            "The attribute 'allOf[1].hasPolicy' is properly documented.",
            "The attribute 'allOf[1].language' is properly documented.",
            "The attribute 'allOf[1].language.items' is properly documented.",
            "The attribute 'allOf[1].conformsTo' is properly documented.",
            "The attribute 'allOf[1].conformsTo.items' is properly documented.",
            "The attribute 'allOf[1].mediaType' is properly documented.",
            "The attribute 'allOf[1].packageFormat' is properly documented.",
            "The attribute 'allOf[1].issued' is properly documented.",
            "The attribute 'allOf[1].rights' is properly documented.",
            "The attribute 'allOf[1].spatialResolutionInMeters' is properly documented.",
            "The attribute 'allOf[1].spatialResolutionInMeters.items' is properly documented.",
            "The attribute 'allOf[1].status' is properly documented.",
            "The attribute 'allOf[1].temporalResolution' is properly documented.",
            "The attribute 'allOf[1].title' is properly documented.",
            "The attribute 'allOf[1].title.items' is properly documented.",
            "The attribute 'allOf[1].modified' is properly documented."
        ]
    },
    "test_schema_metadata": {
        "test_name": "Validating schema.json metadata",
        "success": true,
        "message": [
            "$schema is valid",
            "modelTags is present and not empty",
            "$schemaVersion is valid",
            "title is valid",
            "description is valid",
            "$id is valid and points to a real site",
            "derivedFrom is present and not empty",
            "required section is valid and contains 'id' and 'type'",
            "license is present and not empty"
        ]
    },
    "test_string_incorrect": {
        "test_name": "Checking invalid string attributes",
        "success": true,
        "message": []
    },
    "test_valid_keyvalues_examples": {
        "test_name": "Checking that example files are valid against the schema",
        "success": true,
        "message": [
            "example.json: JSON data is valid against the schema.",
            "example.jsonld: JSON data is valid against the schema.",
            "All @context URLs are valid."
        ]
    },
    "test_valid_ngsiv2": {
        "test_name": "Validating example-normalized.json as NGSI v2 normalized format",
        "success": true,
        "message": []
    },
    "test_valid_ngsild": {
        "test_name": "Validating example-normalized.jsonld as NGSI-LD format",
        "success": true,
        "message": [
            "All @context URLs are valid."
        ]
    },
    "test_duplicated_attributes": {
        "test_name": "Checking that all payload attributes are defined in the schema",
        "success": false,
        "message": [
            "The following attributes in the payload are not defined in the schema:",
            "*** Attribute 'id' in the payload is not defined in the schema."
        ]
    },
    "test_array_object_structure": {
        "test_name": "Checking array and object attributes structure",
        "success": true,
        "message": []
    },
    "email": "alberto.abella@fiware.org"
}