License federation (#343)
* Federate license * Make it possible to use no license
This commit is contained in:
@@ -220,3 +220,12 @@ pub struct Source {
|
||||
}
|
||||
|
||||
impl Object for Source {}
|
||||
|
||||
#[derive(Clone, Debug, Default, Deserialize, Serialize, Properties)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Licensed {
|
||||
#[activitystreams(concrete(String), functional)]
|
||||
pub license: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
impl Object for Licensed {}
|
||||
|
||||
Reference in New Issue
Block a user