2021-11-18 15:57:44 +00:00
|
|
|
// https://www.w3.org/TR/activitypub/#server-to-server-interactions
|
2023-04-24 15:35:32 +00:00
|
|
|
pub const AP_MEDIA_TYPE: &str =
|
|
|
|
r#"application/ld+json; profile="https://www.w3.org/ns/activitystreams""#;
|
2022-10-01 16:56:57 +00:00
|
|
|
pub const AS_MEDIA_TYPE: &str = "application/activity+json";
|
2021-11-18 15:57:44 +00:00
|
|
|
|
2023-01-28 22:35:46 +00:00
|
|
|
// Contexts
|
2023-04-27 19:26:18 +00:00
|
|
|
pub const AS_CONTEXT: &str = "https://www.w3.org/ns/activitystreams";
|
2023-01-28 22:35:46 +00:00
|
|
|
pub const W3ID_SECURITY_CONTEXT: &str = "https://w3id.org/security/v1";
|
|
|
|
pub const W3ID_DATA_INTEGRITY_CONTEXT: &str = "https://w3id.org/security/data-integrity/v1";
|
2023-04-27 19:26:18 +00:00
|
|
|
pub const SCHEMA_ORG_CONTEXT: &str = "http://schema.org/#";
|
2023-02-19 22:14:10 +00:00
|
|
|
pub const MASTODON_CONTEXT: &str = "http://joinmastodon.org/ns#";
|
|
|
|
|
|
|
|
// Misc
|
|
|
|
pub const AP_PUBLIC: &str = "https://www.w3.org/ns/activitystreams#Public";
|