{"schemaVersion":{"major":0,"minor":3,"patch":0},"seeAlsoSections":[{"identifiers":["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/Activity","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/FoodGenerator","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/Sloth\/Food"],"title":"Care and Feeding","generated":true,"anchor":"Care-and-Feeding"}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/slothcreator\/careschedule"]}],"metadata":{"symbolKind":"struct","modules":[{"name":"SlothCreator"}],"navigatorTitle":[{"kind":"identifier","text":"CareSchedule"}],"role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CareSchedule","kind":"identifier"}],"roleHeading":"Structure","title":"CareSchedule","externalID":"s:12SlothCreator12CareScheduleV"},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule\/init(events:)"],"anchor":"Creating-a-Care-Schedule","title":"Creating a Care Schedule"},{"title":"Getting the Schedule","identifiers":["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule\/events","doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule\/Event"],"anchor":"Getting-the-Schedule"}],"primaryContentSections":[{"declarations":[{"tokens":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"CareSchedule","kind":"identifier"}],"platforms":["macOS"],"languages":["swift"]}],"kind":"declarations"}],"identifier":{"url":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule","interfaceLanguage":"swift"},"abstract":[{"text":"A schedule to maintain the health and happiness of a sloth.","type":"text"}],"sections":[],"hierarchy":{"paths":[["doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator"]]},"references":{"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/Sloth/Food":{"type":"topic","kind":"symbol","url":"\/documentation\/slothcreator\/sloth\/food","abstract":[{"text":"Food that a sloth can consume.","type":"text"}],"title":"Sloth.Food","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/Sloth\/Food","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Food"}],"navigatorTitle":[{"text":"Food","kind":"identifier"}]},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/CareSchedule/init(events:)":{"type":"topic","title":"init(events:)","url":"\/documentation\/slothcreator\/careschedule\/init(events:)","kind":"symbol","role":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule\/init(events:)","fragments":[{"kind":"identifier","text":"init"},{"text":"(","kind":"text"},{"text":"events","kind":"externalParam"},{"text":": [(","kind":"text"},{"preciseIdentifier":"s:10Foundation4DateV","kind":"typeIdentifier","text":"Date"},{"text":", ","kind":"text"},{"text":"Event","kind":"typeIdentifier","preciseIdentifier":"s:12SlothCreator12CareScheduleV5EventO"},{"kind":"text","text":")])"}],"abstract":[{"text":"Creates a care schedule with the specified events.","type":"text"}]},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/Activity":{"navigatorTitle":[{"kind":"identifier","text":"Activity"}],"type":"topic","role":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/Activity","abstract":[{"type":"text","text":"A type that declares an activity a Sloth can perform."}],"fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Activity"}],"title":"Activity","kind":"symbol","url":"\/documentation\/slothcreator\/activity"},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/CareSchedule/Event":{"navigatorTitle":[{"kind":"identifier","text":"Event"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule\/Event","role":"symbol","kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Event"}],"url":"\/documentation\/slothcreator\/careschedule\/event","abstract":[{"text":"An action a sloth can perform.","type":"text"}],"title":"CareSchedule.Event","type":"topic"},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/CareSchedule":{"kind":"symbol","identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule","navigatorTitle":[{"kind":"identifier","text":"CareSchedule"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"text":"CareSchedule","kind":"identifier"}],"abstract":[{"text":"A schedule to maintain the health and happiness of a sloth.","type":"text"}],"type":"topic","role":"symbol","url":"\/documentation\/slothcreator\/careschedule","title":"CareSchedule"},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/CareSchedule/events":{"abstract":[{"text":"The actions a sloth performs at scheduled times.","type":"text"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/CareSchedule\/events","url":"\/documentation\/slothcreator\/careschedule\/events","kind":"symbol","role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"events","kind":"identifier"},{"kind":"text","text":": [("},{"preciseIdentifier":"s:10Foundation4DateV","text":"Date","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"Event","kind":"typeIdentifier","preciseIdentifier":"s:12SlothCreator12CareScheduleV5EventO"},{"kind":"text","text":")]"}],"title":"events"},"slothCreator-icon.png":{"alt":"A technology icon representing the SlothCreator framework.","type":"image","identifier":"slothCreator-icon.png","variants":[{"traits":["2x","light"],"url":"\/images\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/slothCreator-icon@2x.png"}]},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator":{"url":"\/documentation\/slothcreator","title":"SlothCreator","kind":"symbol","images":[{"type":"icon","identifier":"slothCreator-icon.png"}],"type":"topic","abstract":[{"type":"text","text":"Catalog sloths you find in nature and create new adorable virtual sloths."}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator","role":"collection"},"doc://slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator/documentation/SlothCreator/FoodGenerator":{"abstract":[{"text":"A type that generates food.","type":"text"}],"kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"FoodGenerator"}],"title":"FoodGenerator","type":"topic","url":"\/documentation\/slothcreator\/foodgenerator","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"FoodGenerator","kind":"identifier"}],"identifier":"doc:\/\/slothcreatorbuildingdoccdocumentationinxcode-2.SlothCreator\/documentation\/SlothCreator\/FoodGenerator"}}}