diff --git a/js/pastemeta.jsonld b/js/pastemeta.jsonld index b0e07f6..2ebeca0 100644 --- a/js/pastemeta.jsonld +++ b/js/pastemeta.jsonld @@ -17,15 +17,12 @@ }, { "@type": "pb:BurnAfterReading" - }, - { - "@type": "pb:Expire" } ] }, "MetaData": { - "created": { - "@type": "pb:CreationTime" + "expire": { + "@type": "pb:Expiration" }, "time_to_live": { "@type": "pb:RemainingSeconds" diff --git a/js/types.jsonld b/js/types.jsonld index d586226..00faa41 100644 --- a/js/types.jsonld +++ b/js/types.jsonld @@ -72,7 +72,7 @@ "@value": "plaintext", "@enum": ["plaintext", "syntaxhighlighting", "markdown"] }, - "Expire": { + "Expiration": { "@type": "so:Text", "@value": "1week", "@enum": ["5min", "10min", "1hour", "1day", "1week", "1month", "1year", "never"] @@ -85,9 +85,6 @@ "@type": "so:Boolean", "@enum": [false, true] }, - "CreationTime": { - "@type": "dp:Unix_time" - }, "RemainingSeconds": { "@type": "dp:Second", "@minimum": 1