Current section

Files

Jump to
purl priv spec types cocoapods-definition.json
Raw

priv/spec/types/cocoapods-definition.json

{
"$schema": "https://packageurl.org/schemas/purl-type-definition.schema-1.0.json",
"$id": "https://packageurl.org/types/cocoapods-definition.json",
"type": "cocoapods",
"type_name": "CocoaPods",
"description": "CocoaPods pods",
"repository": {
"use_repository": true,
"default_repository_url": "https://cdn.cocoapods.org/"
},
"namespace_definition": {
"requirement": "prohibited",
"note": "there is no namespace"
},
"name_definition": {
"requirement": "required",
"case_sensitive": true,
"native_name": "pod name",
"note": "The name is the pod name and is case sensitive, cannot contain whitespace, a plus (+) character, or begin with a period (.)."
},
"version_definition": {
"requirement": "optional",
"native_name": "package version",
"note": "The version is the package version."
},
"subpath_definition": {
"requirement": "optional",
"note": "The purl subpath is used to represent a pods subspec (if present)."
},
"examples": [
"pkg:cocoapods/AFNetworking@4.0.1",
"pkg:cocoapods/MapsIndoors@3.24.0",
"pkg:cocoapods/ShareKit@2.0#Twitter",
"pkg:cocoapods/GoogleUtilities@7.5.2#NSData+zlib"
]
}