---
id: "sharepoint_content_type_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["software"]
langs: ["common"]
quality: 75
url: "https://registry.apicrafter.io/datatype/sharepoint_content_type_id"
---

# SharePoint content type id (`sharepoint_content_type_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifier of a content type in Microsoft SharePoint, a hexadecimal string that starts with 0x and grows with each level of inheritance: 0x is the System type, 0x01 Item, 0x0101 Document and 0x0120 Folder. A custom type appends 00 and a GUID without hyphens, or two hexadecimal digits, to the id of its parent.

- Parent datatype: `id`
- Personal data (PII): no
- Categories: Software development (software)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^0x(?:[0-9A-Fa-f]{2})*$
```

## Examples

- `0x01` — Item
- `0x0101` — Document
- `0x0120` — Folder
- `0x01000F389E14C9CE4CE486270B9D4713A5D6` — Custom type inherited from Item
- `0x012` (invalid example) — Odd number of hexadecimal digits
- `01` (invalid example) — No 0x prefix

## Sources

- doc: <https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/aa543822(v=office.14)>

## Quality

Score 75/100. Missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/sharepoint_content_type_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/sharepoint_content_type_id.yaml>
