Annex A (informative) Example CLE Document
{
"$schema": "https://TODO/cle.v1.0.0.json",
"identifier": "pkg:npm/example-component",
"updatedAt": "2021-01-15T00:00:00Z",
"definitions": {
"support": [
{
"id": "standard",
"description": "Standard product support policy",
"url": "https://example.com/support/standard"
}
]
},
"events": [
{
"id": 5,
"type": "withdrawn",
"effective": "2021-01-15T00:00:00Z",
"published": "2021-01-15T00:00:00Z",
"eventId": 2,
"reason": "The endOfSupport date was incorrect.",
"references": [
"https://example.com/support-correction"
]
},
{
"id": 4,
"type": "endOfSupport",
"effective": "2021-01-01T00:00:00Z",
"published": "2021-01-01T00:00:00Z",
"versions": [
{
"range": "vers:npm/>=1.0.0|<2.0.0"
}
],
"supportId": "standard"
},
{
"id": 3,
"type": "componentRenamed",
"effective": "2020-01-01T00:00:00Z",
"published": "2020-01-01T00:00:00Z",
"description": "Component renamed due to acquisition",
"identifiers": [
{
"type": "PURL",
"value": "pkg:npm/new-component"
}
]
},
{
"id": 2,
"type": "endOfSupport",
"effective": "2020-01-01T00:00:00Z",
"published": "2020-01-01T00:00:00Z",
"versions": [
{
"range": "vers:npm/>=1.0.0|<2.0.0"
}
],
"supportId": "standard"
},
{
"id": 1,
"type": "released",
"effective": "2019-01-01T00:00:00Z",
"published": "2019-01-01T00:00:00Z",
"version": "1.0.0",
"license": "MIT"
}
]
}