{
  "id": "xml_text",
  "kind": "datatype",
  "status": "draft",
  "name": "XML document in a text field",
  "doc": "XML element or document stored as text in one field, such as the schema of a SharePoint content type (SchemaXml): <ContentType ID=\"0x\" Name=\"Item\">...</ContentType>.",
  "is_pii": false,
  "categories": [
    "software"
  ],
  "langs": [
    "common"
  ],
  "examples": [
    {
      "value": "<ContentType ID=\"0x\" Name=\"Item\"><Fields /></ContentType>",
      "valid": true
    },
    {
      "value": "<item id=\"1\"/>",
      "valid": true
    },
    {
      "value": "<ContentType ID=\"0x\">",
      "description": "Element not closed",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/XML"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "xmltextbyvalue",
        "type": "data",
        "match": "func",
        "file": "common/software.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "regexp",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/xml_text.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/xml_text.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/xml_text.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/xml_text",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/xml_text.json"
  }
}